Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Scala (programming language)</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Scala_(programming_language)"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.math.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Scala_programming_language rootpage-Scala_programming_language skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Scala (programming language)</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">For the music scale creation software, see <a href="Scala_(software)" title="Scala (software)">Scala (software)</a>.</div>
<style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}


/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1295905060">
/* start https://en.wikipedia.org/ */


.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}


/* end https://en.wikipedia.org/ */
</style><table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above" style="background-color:#e0e0e0;">Scala</th></tr><tr><td colspan="2" class="infobox-image"><span typeof="mw:File"></span></td></tr><tr><th scope="row" class="infobox-label"><a href="Programming_paradigm" title="Programming paradigm">Paradigm</a></th><td class="infobox-data"><a href="Multi-paradigm" class="mw-redirect" title="Multi-paradigm">Multi-paradigm</a>: <a href="Concurrent_programming" class="mw-redirect" title="Concurrent programming">concurrent</a>, <a href="Functional_programming" title="Functional programming">functional</a>, <a href="Imperative_programming" title="Imperative programming">imperative</a>, <a href="Object-oriented_programming" title="Object-oriented programming">object-oriented</a></td></tr><tr><th scope="row" class="infobox-label"><a href="Software_design" title="Software design">Designed&nbsp;by</a></th><td class="infobox-data"><a href="Martin_Odersky" title="Martin Odersky">Martin Odersky</a></td></tr><tr><th scope="row" class="infobox-label"><a href="Software_developer" class="mw-redirect" title="Software developer">Developer</a></th><td class="infobox-data organiser">Programming Methods Laboratory of <a href="%C3%89cole_Polytechnique_F%C3%A9d%C3%A9rale_de_Lausanne" title="École Polytechnique Fédérale de Lausanne">École Polytechnique Fédérale de Lausanne</a></td></tr><tr><th scope="row" class="infobox-label">First&nbsp;appeared</th><td class="infobox-data">20&nbsp;January 2004<span style="display:none">&nbsp;(<span class="bday dtstart published updated">2004-01-20</span>)</span></td></tr><tr><td colspan="2" class="infobox-full-data"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">3.7.1<sup id="cite_ref-wikidata-727b6dee3f4e54ac7cbc00f60f3f1f04fe9224c5-v20_1-0" class="reference"><a href="#cite_note-wikidata-727b6dee3f4e54ac7cbc00f60f3f1f04fe9224c5-v20-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>&nbsp;
/ 4 June 2025<span style="display:none">&nbsp;(<span class="bday dtstart published updated">4 June 2025</span>)</span></div></td></tr><tr style="display:none"><td colspan="2">
</td></tr><tr><th scope="row" class="infobox-label"><a href="Type_system" title="Type system">Typing discipline</a></th><td class="infobox-data"><a href="Type_inference" title="Type inference">Inferred</a>, <a href="Static_typing" class="mw-redirect" title="Static typing">static</a>, <a href="Strong_and_weak_typing" title="Strong and weak typing">strong</a>, <a href="Structural_type_system" title="Structural type system">structural</a></td></tr><tr><th scope="row" class="infobox-label">Implementation language</th><td class="infobox-data">Scala</td></tr><tr><th scope="row" class="infobox-label"><a href="Computing_platform" title="Computing platform">Platform</a></th><td class="infobox-data"><a href="Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> (JVM)<br><a href="JavaScript" title="JavaScript">JavaScript</a> (<a rel="nofollow" class="external text" href="https://scala-js.org">Scala.js</a>)<br><a href="LLVM" title="LLVM">LLVM</a> (<a rel="nofollow" class="external text" href="http://scala-native.org">Scala Native</a>) (experimental)</td></tr><tr><th scope="row" class="infobox-label"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="Apache_License" title="Apache License">Apache</a> 2.0<sup id="cite_ref-license-github_2-0" class="reference"><a href="#cite_note-license-github-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" class="infobox-label"><a href="Filename_extension" title="Filename extension">Filename extensions</a></th><td class="infobox-data">.scala, .sc</td></tr><tr><th scope="row" class="infobox-label">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="http://www.scala-lang.org">www<wbr>.scala-lang<wbr>.org</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #EEEEEE;">Influenced by</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="Common_Lisp" title="Common Lisp">Common Lisp</a>,<sup id="cite_ref-Scala_Macros_3-0" class="reference"><a href="#cite_note-Scala_Macros-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> <a href="Eiffel_(programming_language)" title="Eiffel (programming language)">Eiffel</a>, <a href="Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a>, <a href="Haskell" title="Haskell">Haskell</a>,<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> <a href="Java_(programming_language)" title="Java (programming language)">Java</a>,<sup id="cite_ref-popl06_5-0" class="reference"><a href="#cite_note-popl06-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> <a href="OCaml" title="OCaml">OCaml</a>,<sup id="cite_ref-popl06_5-1" class="reference"><a href="#cite_note-popl06-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> <a href="Oz_(programming_language)" title="Oz (programming language)">Oz</a>, <a href="Pizza_(programming_language)" title="Pizza (programming language)">Pizza</a>,<sup id="cite_ref-overview_6-0" class="reference"><a href="#cite_note-overview-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> <a href="Scheme_(programming_language)" title="Scheme (programming language)">Scheme</a>,<sup id="cite_ref-popl06_5-2" class="reference"><a href="#cite_note-popl06-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> <a href="Smalltalk" title="Smalltalk">Smalltalk</a>, <a href="Standard_ML" title="Standard ML">Standard ML</a><sup id="cite_ref-popl06_5-3" class="reference"><a href="#cite_note-popl06-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #EEEEEE;">Influenced</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="Ceylon_(programming_language)" title="Ceylon (programming language)">Ceylon</a>, <a href="Chisel_(programming_language)" title="Chisel (programming language)">Chisel</a>, <a href="Fantom_(programming_language)" title="Fantom (programming language)">Fantom</a>, <a href="F_Sharp_(programming_language)" title="F Sharp (programming language)">F#</a>, <a href="C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a>, <a href="Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a>, <a href="Lasso_(programming_language)" title="Lasso (programming language)">Lasso</a>, <a href="Red_(programming_language)" title="Red (programming language)">Red</a>, <a href="Flix_(programming_language)" title="Flix (programming language)">Flix</a></td></tr><tr><td colspan="2" class="infobox-below hlist" style="border-top: 1px solid #aaa; padding-top: 3px;">
<ul><li><span class="noviewer" typeof="mw:File"></span> <a href="https://en.wikibooks.org/wiki/Scala" class="extiw external" title="wikibooks:Scala">Scala</a> at Wikibooks</li></ul>
</td></tr></tbody></table>
<p><b>Scala</b> (<span class="rt-commentedText nowrap"><span class="IPA nopopups noexcerpt" lang="en-fonipa">/<span style="border-bottom:1px dotted"><span title="/ˈ/: primary stress follows">ˈ</span><span title="'s' in 'sigh'">s</span><span title="'k' in 'kind'">k</span><span title="/ɑː/: 'a' in 'father'">ɑː</span><span title="'l' in 'lie'">l</span><span title="/ɑː/: 'a' in 'father'">ɑː</span></span>/</span></span> <i title="English pronunciation respelling"><span style="font-size:90%">SKAH</span>-lah</i>)<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> is a <a href="Strong_and_weak_typing" title="Strong and weak typing">strongly</a> <a href="Statically_typed" class="mw-redirect" title="Statically typed">statically typed</a> <a href="High-level_programming_language" title="High-level programming language">high-level</a> <a href="General-purpose_programming_language" title="General-purpose programming language">general-purpose programming language</a> that supports both <a href="Object-oriented_programming" title="Object-oriented programming">object-oriented programming</a> and <a href="Functional_programming" title="Functional programming">functional programming</a>. Designed to be concise,<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> many of Scala's design decisions are intended to address <a href="Criticism_of_Java" title="Criticism of Java">criticisms of Java</a>.<sup id="cite_ref-overview_6-1" class="reference"><a href="#cite_note-overview-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>
</p><p>Scala source code can be compiled to <a href="Java_bytecode" title="Java bytecode">Java bytecode</a> and run on a <a href="Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> (JVM). Scala can also be transpiled to <a href="JavaScript" title="JavaScript">JavaScript</a> to run in a browser, or compiled directly to a native executable. When running on the JVM, Scala provides <a href="Language_interoperability" title="Language interoperability">language interoperability</a> with <a href="Java_(programming_language)" title="Java (programming language)">Java</a> so that libraries written in either language may be referenced directly in Scala or Java code.<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> Like Java, Scala is <a href="Object-oriented_programming" title="Object-oriented programming">object-oriented</a>, and uses a <a href="Syntax_(programming_languages)" title="Syntax (programming languages)">syntax</a> termed <i><a href="List_of_programming_languages_by_type#Curly_bracket_languages" title="List of programming languages by type">curly-brace</a></i> which is similar to the language <a href="C_(programming_language)" title="C (programming language)">C</a>. Since Scala 3, there is also an option to use the <a href="Off-side_rule" title="Off-side rule">off-side rule</a> (indenting) to structure <a href="Block_(programming)" title="Block (programming)">blocks</a>, and its use is advised. <a href="Martin_Odersky" title="Martin Odersky">Martin Odersky</a> has said that this turned out to be the most productive change introduced in Scala 3.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup>
</p><p>Unlike Java, Scala has many features of <a href="Functional_programming" title="Functional programming">functional programming</a> languages (like <a href="Scheme_(programming_language)" title="Scheme (programming language)">Scheme</a>, <a href="Standard_ML" title="Standard ML">Standard ML</a>, and <a href="Haskell" title="Haskell">Haskell</a>), including <a href="Currying" title="Currying">currying</a>, <a href="Immutability" class="mw-redirect" title="Immutability">immutability</a>, <a href="Lazy_evaluation" title="Lazy evaluation">lazy evaluation</a>, and <a href="Pattern_matching" title="Pattern matching">pattern matching</a>. It also has an advanced type system supporting <a href="Algebraic_data_type" title="Algebraic data type">algebraic data types</a>, <a href="Covariance_and_contravariance_(computer_science)" title="Covariance and contravariance (computer science)">covariance and contravariance</a>, <a href="Higher-order_type_operator" class="mw-redirect" title="Higher-order type operator">higher-order types</a> (but not <a href="Parametric_polymorphism" title="Parametric polymorphism">higher-rank types</a>), <a href="Anonymous_type" title="Anonymous type">anonymous types</a>, <a href="Operator_overloading" title="Operator overloading">operator overloading</a>, <a href="Option_type" title="Option type">optional parameters</a>, <a href="Named_parameter" title="Named parameter">named parameters</a>, <a href="Raw_string" class="mw-redirect" title="Raw string">raw strings</a>, and an experimental exception-only version of algebraic effects that can be seen as a more powerful version of Java's <a href="Checked_exception" class="mw-redirect" title="Checked exception">checked exceptions</a>.<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup>
</p><p>The name Scala is a portmanteau of <i>scalable</i> and <i>language</i>, signifying that it is designed to grow with the demands of its users.<sup id="cite_ref-StepsInScala_13-0" class="reference"><a href="#cite_note-StepsInScala-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup>
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="History">History</h2></div>
<p>The design of Scala started in 2001 at the <a href="%C3%89cole_Polytechnique_F%C3%A9d%C3%A9rale_de_Lausanne" title="École Polytechnique Fédérale de Lausanne">École Polytechnique Fédérale de Lausanne</a> (EPFL) (in <a href="Lausanne" title="Lausanne">Lausanne</a>, <a href="Switzerland" title="Switzerland">Switzerland</a>) by <a href="Martin_Odersky" title="Martin Odersky">Martin Odersky</a>. It followed on from work on Funnel, a programming language combining ideas from functional programming and <a href="Petri_net" title="Petri net">Petri nets</a>.<sup id="cite_ref-history-of-scala_14-0" class="reference"><a href="#cite_note-history-of-scala-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> Odersky formerly worked on <a href="Generic_Java" class="mw-redirect" title="Generic Java">Generic Java</a>, and <a href="Javac" title="Javac">javac</a>, Sun's Java compiler.<sup id="cite_ref-history-of-scala_14-1" class="reference"><a href="#cite_note-history-of-scala-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup>
</p><p>After an internal release in late 2003, Scala was released publicly in early 2004 on the <a href="Java_platform" class="mw-redirect" title="Java platform">Java platform</a>,<sup id="cite_ref-cacm_15-0" class="reference"><a href="#cite_note-cacm-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-overview_6-2" class="reference"><a href="#cite_note-overview-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-history-of-scala_14-2" class="reference"><a href="#cite_note-history-of-scala-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-spec_16-0" class="reference"><a href="#cite_note-spec-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup> A second version (v2.0) followed in March 2006.<sup id="cite_ref-overview_6-3" class="reference"><a href="#cite_note-overview-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>
</p><p>On 17 January 2011, the Scala team won a five-year research grant of over €2.3 million from the <a href="European_Research_Council" title="European Research Council">European Research Council</a>.<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup> On 12 May 2011, Odersky and collaborators launched Typesafe Inc. (later renamed <a href="Lightbend_Inc." class="mw-redirect" title="Lightbend Inc.">Lightbend Inc.</a>), a company to provide commercial support, training, and services for Scala. Typesafe received a $3 million investment in 2011 from <a href="Greylock_Partners" title="Greylock Partners">Greylock Partners</a>.<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Platforms_and_license">Platforms and license</h2></div>
<p>Scala runs on the <a href="Java_platform" class="mw-redirect" title="Java platform">Java platform</a> (<a href="Java_virtual_machine" title="Java virtual machine">Java virtual machine</a>) and is compatible with existing <a href="Java_(programming_language)" title="Java (programming language)">Java</a> programs.<sup id="cite_ref-cacm_15-1" class="reference"><a href="#cite_note-cacm-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> As <a href="Android_(operating_system)" title="Android (operating system)">Android</a> applications are typically written in Java and translated from Java bytecode into <a href="Dalvik_(software)" title="Dalvik (software)">Dalvik</a> bytecode (which may be further translated to native machine code during installation) when packaged, Scala's Java compatibility makes it well-suited to Android development, the more so when a functional approach is preferred.<sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup>
</p><p>The reference Scala software distribution, including compiler and libraries, is released under the <a href="Apache_license" class="mw-redirect" title="Apache license">Apache license</a>.<sup id="cite_ref-Scala_2.12.8_is_now_available!_23-0" class="reference"><a href="#cite_note-Scala_2.12.8_is_now_available!-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading3"><h3 id="Other_compilers_and_targets">Other compilers and targets</h3></div>
<p><a rel="nofollow" class="external text" href="https://www.scala-js.org/"><i>Scala.js</i></a> is a Scala compiler that compiles to JavaScript, making it possible to write Scala programs that can run in web browsers or <a href="Node.js" title="Node.js">Node.js</a>.<sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup> The compiler, in development since 2013, was announced as no longer experimental in 2015 (v0.6). Version v1.0.0-M1 was released in June 2018 and version 1.1.1 in September 2020.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup>
</p><p>Scala Native is a Scala <a href="Compiler" title="Compiler">compiler</a> that targets the <a href="LLVM" title="LLVM">LLVM</a> compiler infrastructure to create executable code that uses a lightweight managed runtime, which uses the <a href="Boehm_garbage_collector" title="Boehm garbage collector">Boehm garbage collector</a>. The project is led by Denys Shabalin and had its first release, 0.1, on 14 March 2017. Development of Scala Native began in 2015 with a goal of being faster than <a href="Just-in-time_compilation" title="Just-in-time compilation">just-in-time compilation</a> for the JVM by eliminating the initial runtime compilation of code and also providing the ability to call native routines directly.<sup id="cite_ref-26" class="reference"><a href="#cite_note-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-27" class="reference"><a href="#cite_note-27"><span class="cite-bracket">[</span>27<span class="cite-bracket">]</span></a></sup>
</p><p>A reference Scala compiler targeting the <a href=".NET_Framework" title=".NET Framework">.NET Framework</a> and its <a href="Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a> was released in June 2004,<sup id="cite_ref-history-of-scala_14-3" class="reference"><a href="#cite_note-history-of-scala-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> but was officially dropped in 2012.<sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2></div>
<div class="mw-heading mw-heading3"><h3 id="&quot;Hello_World&quot;_example">"Hello World" example</h3></div>
<p>The <a href="Hello_World_program" class="mw-redirect" title="Hello World program">Hello World program</a> written in Scala 3 has this form:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="nd">@main</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"Hello, World!"</span><span class="p">)</span>
</pre></div>
<p>Unlike the <a href="Java_(programming_language)#Hello_world" title="Java (programming language)">stand-alone Hello World application for Java</a>, there is no class declaration and nothing is declared to be static.
</p><p>When the program is stored in file <i>HelloWorld.scala</i>, the user compiles it with the command:
</p>
<pre>$ scalac HelloWorld.scala
</pre>
<p>and runs it with
</p>
<pre>$ scala HelloWorld
</pre>
<p>This is analogous to the process for compiling and running Java code. Indeed, Scala's compiling and executing model is identical to that of Java, making it compatible with Java build tools such as <a href="Apache_Ant" title="Apache Ant">Apache Ant</a>.
</p><p>A shorter version of the "Hello World" Scala program is:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="n">println</span><span class="p">(</span><span class="s">"Hello, World!"</span><span class="p">)</span>
</pre></div>
<p>Scala includes an interactive shell and scripting support.<sup id="cite_ref-29" class="reference"><a href="#cite_note-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup> Saved in a file named <code>HelloWorld2.scala</code>, this can be run as a script using the command:
</p>
<pre>$ scala HelloWorld2.scala
</pre>
<p>Commands can also be entered directly into the Scala interpreter, using the option <b><style data-mw-deduplicate="TemplateStyles:r886049734">
/* start https://en.wikipedia.org/ */


.mw-parser-output .monospaced{font-family:monospace,monospace}


/* end https://en.wikipedia.org/ */
</style><span class="monospaced">-e</span></b>:
</p>
<pre>$ scala <b>-e</b> 'println("Hello, World!")'
</pre>
<p>Expressions can be entered interactively in the <a href="REPL" class="mw-redirect" title="REPL">REPL</a>:
</p>
<div class="mw-highlight mw-highlight-lang-console mw-content-ltr" dir="ltr"><pre><span class="gp">$ </span>scala
<span class="go">Welcome to Scala 2.12.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131).</span>
<span class="go">Type in expressions for evaluation. Or try :help.</span>

<span class="go">scala&gt; List(1, 2, 3).map(x =&gt; x * x)</span>
<span class="go">res0: List[Int] = List(1, 4, 9)</span>

<span class="go">scala&gt;</span>
</pre></div>
<div class="mw-heading mw-heading3"><h3 id="Basic_example">Basic example</h3></div>
<p>The following example shows the differences between Java and Scala syntax. The function mathFunction takes an integer, squares it, and then adds the cube root of that number to the natural log of that number, returning the result (i.e., <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n^{2/3}+\ln(n^{2})}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>n</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mo>/</mo>
</mrow>
<mn>3</mn>
</mrow>
</msup>
<mo>+</mo>
<mi>ln</mi>
<mo>⁡<!-- ⁡ --></mo>
<mo stretchy="false">(</mo>
<msup>
<mi>n</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n^{2/3}+\ln(n^{2})}</annotation>
</semantics>
</math></span><img src="./c8b951dcd43293ba0ff1254fb0519d38b5aaa677.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:13.131ex; height:3.343ex;" alt="{\displaystyle n^{2/3}+\ln(n^{2})}" loading="lazy"></span>):
</p>
<table>

<tbody><tr>
<td><div class="mw-highlight mw-highlight-lang-java mw-content-ltr" dir="ltr"><pre><span class="c1">// Java:</span>
<span class="kt">int</span><span class="w"> </span><span class="nf">mathFunction</span><span class="p">(</span><span class="kt">int</span><span class="w"> </span><span class="n">num</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">numSquare</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">num</span><span class="o">*</span><span class="n">num</span><span class="p">;</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="p">(</span><span class="kt">int</span><span class="p">)</span><span class="w"> </span><span class="p">(</span><span class="n">Math</span><span class="p">.</span><span class="na">cbrt</span><span class="p">(</span><span class="n">numSquare</span><span class="p">)</span><span class="w"> </span><span class="o">+</span>
<span class="w"> </span><span class="n">Math</span><span class="p">.</span><span class="na">log</span><span class="p">(</span><span class="n">numSquare</span><span class="p">));</span>
<span class="p">}</span>
</pre></div>
</td></tr>
<tr>
<td><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="c1">// Scala: Direct conversion from Java</span>

<span class="c1">// no import needed; scala.math</span>
<span class="c1">// already imported as `math`</span>
<span class="k">def</span><span class="w"> </span><span class="nf">mathFunction</span><span class="p">(</span><span class="n">num</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="n">numSquare</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">num</span><span class="o">*</span><span class="n">num</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="p">(</span><span class="n">math</span><span class="p">.</span><span class="n">cbrt</span><span class="p">(</span><span class="n">numSquare</span><span class="p">)</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">math</span><span class="p">.</span><span class="n">log</span><span class="p">(</span><span class="n">numSquare</span><span class="p">)).</span>
<span class="w"> </span><span class="k">asInstanceOf</span><span class="p">[</span><span class="nc">Int</span><span class="p">]</span>
</pre></div>
</td>
<td><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="c1">// Scala: More idiomatic</span>
<span class="c1">// Uses type inference, omits `return` statement,</span>
<span class="c1">// uses `toInt` method, declares numSquare immutable</span>

<span class="k">import</span><span class="w"> </span><span class="nn">math</span><span class="p">.</span><span class="n">*</span>
<span class="k">def</span><span class="w"> </span><span class="nf">mathFunction</span><span class="p">(</span><span class="n">num</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="n">numSquare</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">num</span><span class="o">*</span><span class="n">num</span>
<span class="w"> </span><span class="p">(</span><span class="n">cbrt</span><span class="p">(</span><span class="n">numSquare</span><span class="p">)</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">log</span><span class="p">(</span><span class="n">numSquare</span><span class="p">)).</span><span class="n">toInt</span>
</pre></div>
</td></tr></tbody></table>
<p>Some syntactic differences in this code are:
</p>
<ul><li>Scala does not require semicolons (;) to end statements.</li>
<li>Value types are capitalized (sentence case): <code>Int, Double, Boolean</code> instead of <code>int, double, boolean</code>.</li>
<li>Parameter and return types follow, as in <a href="Pascal_(programming_language)" title="Pascal (programming language)">Pascal</a>, rather than precede as in <a href="C_(programming_language)" title="C (programming language)">C</a>.</li>
<li>Methods must be preceded by <code>def</code>.</li>
<li>Local or class variables must be preceded by <code>val</code> (indicates an <a href="Immutable" class="mw-redirect" title="Immutable">immutable</a> variable) or <code>var</code> (indicates a <a href="Mutable" class="mw-redirect" title="Mutable">mutable</a> variable).</li>
<li>The <code>return</code> operator is unnecessary in a function (although allowed); the value of the last executed statement or expression is normally the function's value.</li>
<li>Instead of the Java cast operator <code>(Type) foo</code>, Scala uses <code>foo.asInstanceOf[Type]</code>, or a specialized function such as <code>toDouble</code> or <code>toInt</code>.</li>
<li>Function or method <code>foo()</code> can also be called as just <code>foo</code>; method <code>thread.send(signo)</code> can also be called as just <code>thread send signo</code>; and method <code>foo.toString()</code> can also be called as just <code>foo toString</code>.</li></ul>
<p>These syntactic relaxations are designed to allow support for <a href="Domain-specific_language" title="Domain-specific language">domain-specific languages</a>.
</p><p>Some other basic syntactic differences:
</p>
<ul><li>Array references are written like function calls, e.g. <code>array(i)</code> rather than <code>array[i]</code>. (Internally in Scala, the former expands into array.apply(i) which returns the reference)</li>
<li>Generic types are written as e.g. <code>List[String]</code> rather than Java's <code>List&lt;String&gt;</code>.</li>
<li>Instead of the pseudo-type <code>void</code>, Scala has the actual <a href="Singleton_pattern" title="Singleton pattern">singleton class</a> <code>Unit</code> (see below).</li></ul>
<div class="mw-heading mw-heading3"><h3 id="Example_with_classes">Example with classes</h3></div>
<p>The following example contrasts the definition of classes in Java and Scala.
</p>
<table>

<tbody><tr valign="top">
<td><div class="mw-highlight mw-highlight-lang-java mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span class="c1">// Java:</span>
<span class="kd">public</span><span class="w"> </span><span class="kd">class</span> <span class="nc">Point</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kd">private</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="p">;</span>
<span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="nf">Point</span><span class="p">(</span><span class="kt">double</span><span class="w"> </span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">y</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="na">x</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">x</span><span class="p">;</span>
<span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="na">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">y</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="nf">Point</span><span class="p">(</span><span class="kt">double</span><span class="w"> </span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">y</span><span class="p">,</span><span class="w"> </span><span class="kt">boolean</span><span class="w"> </span><span class="n">addToGrid</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">this</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="p">);</span>

<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">addToGrid</span><span class="p">)</span>
<span class="w"> </span><span class="n">grid</span><span class="p">.</span><span class="na">addPoint</span><span class="p">(</span><span class="k">this</span><span class="p">);</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="nf">Point</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">this</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span><span class="w"> </span><span class="mf">0.0</span><span class="p">);</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">private</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="nf">addPoint</span><span class="p">(</span><span class="n">Point</span><span class="w"> </span><span class="n">p</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">p</span><span class="p">.</span><span class="na">x</span><span class="p">;</span>
<span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">p</span><span class="p">.</span><span class="na">y</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="nf">getX</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">x</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="nf">getY</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">y</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="nf">distanceToPoint</span><span class="p">(</span><span class="n">Point</span><span class="w"> </span><span class="n">other</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">distanceBetweenPoints</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="p">,</span>
<span class="w"> </span><span class="n">other</span><span class="p">.</span><span class="na">x</span><span class="p">,</span><span class="w"> </span><span class="n">other</span><span class="p">.</span><span class="na">y</span><span class="p">);</span>
<span class="w"> </span><span class="p">}</span>

<span class="w"> </span><span class="kd">private</span><span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="n">Point</span><span class="w"> </span><span class="n">grid</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">new</span><span class="w"> </span><span class="n">Point</span><span class="p">();</span>

<span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="nf">distanceBetweenPoints</span><span class="p">(</span>
<span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">x1</span><span class="p">,</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">y1</span><span class="p">,</span>
<span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">x2</span><span class="p">,</span><span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">y2</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">Math</span><span class="p">.</span><span class="na">hypot</span><span class="p">(</span><span class="n">x1</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">x2</span><span class="p">,</span><span class="w"> </span><span class="n">y1</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">y2</span><span class="p">);</span>
<span class="w"> </span><span class="p">}</span>
<span class="p">}</span>
</pre></div>
</td>
<td><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span class="c1">// Scala</span>
<span class="k">class</span><span class="w"> </span><span class="nc">Point</span><span class="p">(</span>
<span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">,</span><span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="n">y</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">,</span>
<span class="w"> </span><span class="n">addToGrid</span><span class="p">:</span><span class="w"> </span><span class="nc">Boolean</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">false</span>
<span class="p">):</span>
<span class="w"> </span><span class="k">import</span><span class="w"> </span><span class="nc">Point</span><span class="p">.</span><span class="n">*</span>
<span class="w"> </span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">+=</span><span class="w"> </span><span class="p">(</span><span class="n">p</span><span class="p">:</span><span class="w"> </span><span class="nc">Point</span><span class="p">)</span><span class="w"> </span><span class="o">=</span>
<span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">p</span><span class="p">.</span><span class="n">x</span>
<span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">p</span><span class="p">.</span><span class="n">y</span>

<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">addToGrid</span><span class="p">)</span>
<span class="w"> </span><span class="n">grid</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="bp">this</span>

<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">this</span><span class="p">()</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="bp">this</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span><span class="w"> </span><span class="mf">0.0</span><span class="p">)</span>

<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">distanceToPoint</span><span class="p">(</span><span class="n">other</span><span class="p">:</span><span class="w"> </span><span class="nc">Point</span><span class="p">)</span><span class="w"> </span><span class="o">=</span>
<span class="w"> </span><span class="n">distanceBetweenPoints</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="p">,</span><span class="w"> </span><span class="n">other</span><span class="p">.</span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">other</span><span class="p">.</span><span class="n">y</span><span class="p">)</span>

<span class="k">end</span><span class="w"> </span><span class="nc">Point</span>

<span class="k">object</span><span class="w"> </span><span class="nc">Point</span><span class="p">:</span>
<span class="w"> </span><span class="k">private</span><span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="n">grid</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">new</span><span class="w"> </span><span class="nc">Point</span><span class="p">()</span>

<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">distanceBetweenPoints</span><span class="p">(</span><span class="n">x1</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">,</span><span class="w"> </span><span class="n">y1</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">,</span>
<span class="w"> </span><span class="n">x2</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">,</span><span class="w"> </span><span class="n">y2</span><span class="p">:</span><span class="w"> </span><span class="nc">Double</span><span class="p">)</span><span class="w"> </span><span class="o">=</span>
<span class="w"> </span><span class="n">math</span><span class="p">.</span><span class="n">hypot</span><span class="p">(</span><span class="n">x1</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">x2</span><span class="p">,</span><span class="w"> </span><span class="n">y1</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">y2</span><span class="p">)</span>
</pre></div>
</td></tr></tbody></table>
<p>The code above shows some of the conceptual differences between Java and Scala's handling of classes:
</p>
<ul><li>Scala has no static variables or methods. Instead, it has <i>singleton objects</i>, which are essentially classes with only one instance. Singleton objects are declared using <code>object</code> instead of <code>class</code>. It is common to place static variables and methods in a singleton object with the same name as the class name, which is then known as a <i>companion object</i>.<sup id="cite_ref-cacm_15-2" class="reference"><a href="#cite_note-cacm-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> (The underlying class for the singleton object has a <code>$</code> appended. Hence, for <code>class Foo</code> with companion object <code>object Foo</code>, under the hood there's a class <code>Foo$</code> containing the companion object's code, and one object of this class is created, using the <a href="Singleton_pattern" title="Singleton pattern">singleton pattern</a>.)</li>
<li>In place of constructor parameters, Scala has <i>class parameters</i>, which are placed on the class, similar to parameters to a function. When declared with a <code>val</code> or <code>var</code> modifier, fields are also defined with the same name, and automatically initialized from the class parameters. (Under the hood, external access to public fields always goes through accessor (getter) and mutator (setter) methods, which are automatically created. The accessor function has the same name as the field, which is why it's unnecessary in the above example to explicitly declare accessor methods.) Note that alternative constructors can also be declared, as in Java. Code that would go into the <a href="Default_constructor" title="Default constructor">default constructor</a> (other than initializing the member variables) goes directly at class level.</li>
<li>In Scala it is possible to define operators by using symbols as method names. In place of <code>addPoint</code>, the Scala example defines <code>+=</code>, which is then invoked with <a href="Infix_notation" title="Infix notation">infix notation</a> as <code>grid += this</code>.</li>
<li>Default visibility in Scala is <code>public</code>.</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Features_(with_reference_to_Java)">Features (with reference to Java)</h2></div>
<p>Scala has the same compiling model as <a href="Java_(software_platform)" title="Java (software platform)">Java</a> and <a href="C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a>, namely separate compiling and <a href="Java_class_loader" title="Java class loader">dynamic class loading</a>, so that Scala code can call Java libraries.
</p><p>Scala's operational characteristics are the same as Java's. The Scala compiler generates byte code that is nearly identical to that generated by the Java compiler.<sup id="cite_ref-cacm_15-3" class="reference"><a href="#cite_note-cacm-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> In fact, Scala code can be <a href="Decompiled" class="mw-redirect" title="Decompiled">decompiled</a> to readable Java code, with the exception of certain constructor operations. To the <a href="Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> (JVM), Scala code and Java code are indistinguishable. The only difference is one extra runtime library, <code>scala-library.jar</code>.<sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup>
</p><p>Scala adds a large number of features compared with Java, and has some fundamental differences in its underlying model of expressions and types, which make the language theoretically cleaner and eliminate several <i><a href="Corner_cases" class="mw-redirect" title="Corner cases">corner cases</a></i> in Java. From the Scala perspective, this is practically important because several added features in Scala are also available in C#.
</p>
<div class="mw-heading mw-heading3"><h3 id="Syntactic_flexibility">Syntactic flexibility</h3></div>
<p>As mentioned above, Scala has a good deal of syntactic flexibility, compared with Java. The following are some examples:
</p>
<ul><li>Semicolons are unnecessary; lines are automatically joined if they begin or end with a token that cannot normally come in this position, or if there are unclosed parentheses or brackets.</li>
<li>Any method can be used as an <a href="Infix_operator" class="mw-redirect" title="Infix operator">infix operator</a>, e.g. <code>"%d apples".format(num)</code> and <code>"%d apples" format num</code> are equivalent. In fact, arithmetic operators like <code>+</code> and <code>&lt;&lt;</code> are treated just like any other methods, since function names are allowed to consist of sequences of arbitrary symbols (with a few exceptions made for things like parens, brackets and braces that must be handled specially); the only special treatment that such symbol-named methods undergo concerns the handling of precedence.</li>
<li>Methods <code>apply</code> and <code>update</code> have syntactic short forms. <code>foo()</code>—where <code>foo</code> is a value (singleton object or class instance)—is short for <code>foo.apply()</code>, and <code>foo() = 42</code> is short for <code>foo.update(42)</code>. Similarly, <code>foo(42)</code> is short for <code>foo.apply(42)</code>, and <code>foo(4) = 2</code> is short for <code>foo.update(4, 2)</code>. This is used for collection classes and extends to many other cases, such as <a href="Software_transactional_memory" title="Software transactional memory">STM</a> cells.</li>
<li>Scala distinguishes between no-parens (<code>def foo = 42</code>) and empty-parens (<code>def foo() = 42</code>) methods. When calling an empty-parens method, the parentheses may be omitted, which is useful when calling into Java libraries that do not know this distinction, e.g., using <code>foo.toString</code> instead of <code>foo.toString()</code>. By convention, a method should be defined with empty-parens when it performs <a href="Side_effect_(computer_science)" title="Side effect (computer science)">side effects</a>.</li>
<li>Method names ending in colon (<code>:</code>) expect the argument on the left-hand-side and the receiver on the right-hand-side. For example, the <code>4&nbsp;:: 2&nbsp;:: Nil</code> is the same as <code>Nil.::(2).::(4)</code>, the first form corresponding visually to the result (a list with first element 4 and second element 2).</li>
<li>Class body variables can be transparently implemented as separate getter and setter methods. For <code>trait FooLike { var bar: Int }</code>, an implementation may be <code class="mw-highlight mw-highlight-lang-scala mw-content-ltr" style="" dir="ltr"><span class="k">object</span><span class="w"> </span><span class="nc">Foo</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">FooLike</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="k">private</span><span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">bar</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">x</span><span class="p">;</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">bar_=</span><span class="p">(</span><span class="n">value</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">value</span><span class="w"> </span><span class="p">}}</span><span class="w"> </span><span class="p">}</span><span class="w"> </span><span class="p">}</span></code>. The call site will still be able to use a concise <code>foo.bar = 42</code>.</li>
<li>The use of curly braces instead of parentheses is allowed in method calls. This allows pure library implementations of new control structures.<sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">[</span>31<span class="cite-bracket">]</span></a></sup> For example, <code>breakable { ... if (...) break() ... }</code> looks as if <code>breakable</code> was a language defined keyword, but really is just a method taking a <a href="Thunk" title="Thunk">thunk</a> argument. Methods that take thunks or functions often place these in a second parameter list, allowing to mix parentheses and curly braces syntax: <code>Vector.fill(4) { math.random }</code> is the same as <code>Vector.fill(4)(math.random)</code>. The curly braces variant allows the expression to span multiple lines.</li>
<li>For-expressions (explained further down) can accommodate any type that defines monadic methods such as <code>map</code>, <code>flatMap</code> and <code>filter</code>.</li></ul>
<p>By themselves, these may seem like questionable choices, but collectively they serve the purpose of allowing <a href="Domain-specific_language" title="Domain-specific language">domain-specific languages</a> to be defined in Scala without needing to extend the compiler. For example, <a href="Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a>'s special syntax for sending a message to an actor, i.e. <code>actor&nbsp;! message</code> can be (and is) implemented in a Scala library without needing language extensions.
</p>
<div class="mw-heading mw-heading3"><h3 id="Unified_type_system">Unified type system</h3></div>
<p>Java makes a sharp distinction between primitive types (e.g. <code>int</code> and <code>boolean</code>) and reference types (any <a href="Class_(computer_programming)" title="Class (computer programming)">class</a>). Only reference types are part of the inheritance scheme, deriving from <code>java.lang.Object</code>. In Scala, all types inherit from a top-level class <code>Any</code>, whose immediate children are <code>AnyVal</code> (value types, such as <code>Int</code> and <code>Boolean</code>) and <code>AnyRef</code> (reference types, as in Java). This means that the Java distinction between primitive types and boxed types (e.g. <code>int</code> vs. <code>Integer</code>) is not present in Scala; <a href="Boxing_(programming)" class="mw-redirect" title="Boxing (programming)">boxing</a> and unboxing is completely transparent to the user. Scala 2.10 allows for new value types to be defined by the user.
</p>
<div class="mw-heading mw-heading3"><h3 id="For-expressions">For-expressions</h3></div>
<p>Instead of the Java "<a href="Foreach" class="mw-redirect" title="Foreach">foreach</a>" loops for looping through an iterator, Scala has <code>for</code>-expressions, which are similar to <a href="List_comprehension" title="List comprehension">list comprehensions</a> in languages such as <a href="Haskell" title="Haskell">Haskell</a>, or a combination of list comprehensions and <a href="Python_syntax_and_semantics#Generator_expressions" title="Python syntax and semantics">generator expressions</a> in <a href="Python_(programming_language)" title="Python (programming language)">Python</a>. For-expressions using the <code>yield</code> keyword allow a new <a href="Collection_(computer_science)" class="mw-redirect" title="Collection (computer science)">collection</a> to be generated by iterating over an existing one, returning a new collection of the same type. They are translated by the compiler into a series of <code>map</code>, <code>flatMap</code> and <code>filter</code> calls. Where <code>yield</code> is not used, the code approximates to an imperative-style loop, by translating to <code>foreach</code>.
</p><p>A simple example is:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="kd">val</span><span class="w"> </span><span class="n">s</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="p">(</span><span class="n">x</span><span class="w"> </span><span class="o">&lt;-</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="mi">25</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">x</span><span class="o">*</span><span class="n">x</span><span class="w"> </span><span class="o">&gt;</span><span class="w"> </span><span class="mi">50</span><span class="p">)</span><span class="w"> </span><span class="k">yield</span><span class="w"> </span><span class="mi">2</span><span class="o">*</span><span class="n">x</span>
</pre></div>
<p>The result of running it is the following vector:
</p>
<dl><dd><code>Vector(16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50)</code></dd></dl>
<p>(Note that the expression <code>1 to 25</code> is not special syntax. The method <code>to</code> is rather defined in the standard Scala library as an extension method on integers, using a technique known as implicit conversions<sup id="cite_ref-artima1_32-0" class="reference"><a href="#cite_note-artima1-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup> that allows new methods to be added to existing types.)
</p><p>A more complex example of iterating over a map is:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="c1">// Given a map specifying Twitter users mentioned in a set of tweets,</span>
<span class="c1">// and number of times each user was mentioned, look up the users</span>
<span class="c1">// in a map of known politicians, and return a new map giving only the</span>
<span class="c1">// Democratic politicians (as objects, rather than strings).</span>
<span class="kd">val</span><span class="w"> </span><span class="n">dem_mentions</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">for</span><span class="w"> </span>
<span class="w"> </span><span class="p">(</span><span class="n">mention</span><span class="p">,</span><span class="w"> </span><span class="n">times</span><span class="p">)</span><span class="w"> </span><span class="o">&lt;-</span><span class="w"> </span><span class="n">mentions</span>
<span class="w"> </span><span class="n">account</span><span class="w"> </span><span class="o">&lt;-</span><span class="w"> </span><span class="n">accounts</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">mention</span><span class="p">)</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">account</span><span class="p">.</span><span class="n">party</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s">"Democratic"</span>
<span class="w"> </span><span class="k">yield</span><span class="w"> </span><span class="p">(</span><span class="n">account</span><span class="p">,</span><span class="w"> </span><span class="n">times</span><span class="p">)</span>
</pre></div>
<p>Expression <code>(mention, times) &lt;- mentions</code> is an example of <a href="Pattern_matching" title="Pattern matching">pattern matching</a> (see below). Iterating over a map returns a set of key-value <a href="Tuple_(computer_science)" class="mw-redirect" title="Tuple (computer science)">tuples</a>, and pattern-matching allows the tuples to easily be destructured into separate variables for the key and value. Similarly, the result of the comprehension also returns key-value tuples, which are automatically built back up into a map because the source object (from the variable <code>mentions</code>) is a map. Note that if <code>mentions</code> instead held a list, set, array or other collection of tuples, exactly the same code above would yield a new collection of the same type.
</p>
<div class="mw-heading mw-heading3"><h3 id="Functional_tendencies">Functional tendencies</h3></div>
<p>While supporting all of the object-oriented features available in Java (and in fact, augmenting them in various ways), Scala also provides a large number of capabilities that are normally found only in <a href="Functional_programming" title="Functional programming">functional programming</a> languages. Together, these features allow Scala programs to be written in an almost completely functional style and also allow functional and object-oriented styles to be mixed.
</p><p>Examples are:
</p>
<ul><li>No distinction between statements and expressions</li>
<li><a href="Type_inference" title="Type inference">Type inference</a></li>
<li><a href="Anonymous_function" title="Anonymous function">Anonymous functions</a> with capturing semantics (i.e., <a href="Closure_(computer_science)" class="mw-redirect" title="Closure (computer science)">closures</a>)</li>
<li>Immutable variables and objects</li>
<li><a href="Lazy_evaluation" title="Lazy evaluation">Lazy evaluation</a></li>
<li><a href="Delimited_continuation" title="Delimited continuation">Delimited continuations</a> (since 2.8)</li>
<li><a href="Higher-order_function" title="Higher-order function">Higher-order functions</a></li>
<li>Nested functions</li>
<li><a href="Currying" title="Currying">Currying</a></li>
<li><a href="Pattern_matching" title="Pattern matching">Pattern matching</a></li>
<li><a href="Algebraic_data_types" class="mw-redirect" title="Algebraic data types">Algebraic data types</a> (through <i>case classes</i>)</li>
<li><a href="Tuple_(computer_science)" class="mw-redirect" title="Tuple (computer science)">Tuples</a></li></ul>
<div class="mw-heading mw-heading4"><h4 id="Everything_is_an_expression">Everything is an expression</h4></div>
<p>Unlike <a href="C_(programming_language)" title="C (programming language)">C</a> or <a href="Java_(programming_language)" title="Java (programming language)">Java</a>, but similar to languages such as <a href="Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a>, Scala makes no distinction between statements and <a href="Expression_(computer_science)" title="Expression (computer science)">expressions</a>. All statements are in fact expressions that evaluate to some value. Functions that would be declared as returning <code>void</code> in C or Java, and statements like <code>while</code> that logically do not return a value, are in Scala considered to return the type <code>Unit</code>, which is a <a href="Singleton_(mathematics)" title="Singleton (mathematics)">singleton type</a>, with only one object of that type. Functions and operators that never return at all (e.g. the <code>throw</code> operator or a function that always exits <a href="Exception_handling" title="Exception handling">non-locally</a> using an exception) logically have return type <code>Nothing</code>, a special type containing no objects; that is, a <a href="Bottom_type" title="Bottom type">bottom type</a>, i.e. a subclass of every possible type. (This in turn makes type <code>Nothing</code> compatible with every type, allowing <a href="Type_inference" title="Type inference">type inference</a> to function correctly.)<sup id="cite_ref-33" class="reference"><a href="#cite_note-33"><span class="cite-bracket">[</span>33<span class="cite-bracket">]</span></a></sup>
</p><p>Similarly, an <code>if-then-else</code> "statement" is actually an expression, which produces a value, i.e. the result of evaluating one of the two branches. This means that such a block of code can be inserted wherever an expression is desired, obviating the need for a <a href="Ternary_operator" class="mw-redirect" title="Ternary operator">ternary operator</a> in Scala:
</p>
<table>

<tbody><tr>
<td><div class="mw-highlight mw-highlight-lang-java mw-content-ltr" dir="ltr"><pre><span class="c1">// Java:</span>
<span class="kt">char</span><span class="w"> </span><span class="n">hexDigit</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="kt">char</span><span class="p">)(</span><span class="n">x</span><span class="w"> </span><span class="o">&gt;=</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="o">?</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="sc">'A'</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="sc">'0'</span><span class="p">);</span>
</pre></div>
</td>
<td><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="c1">// Scala:</span>
<span class="kd">val</span><span class="w"> </span><span class="n">hexDigit</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="k">if</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">&gt;=</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="k">then</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="sc">'A'</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">10</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="sc">'0'</span><span class="p">).</span><span class="n">toChar</span>
</pre></div>
</td></tr></tbody></table>
<p>For similar reasons, <code>return</code> statements are unnecessary in Scala, and in fact are discouraged. As in <a href="Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a>, the last expression in a block of code is the value of that block of code, and if the block of code is the body of a function, it will be returned by the function.
</p><p>To make it clear that all functions are expressions, even methods that return <code>Unit</code> are written with an equals sign
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">printValue</span><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">String</span><span class="p">):</span><span class="w"> </span><span class="nc">Unit</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"I ate a %s"</span><span class="p">.</span><span class="n">format</span><span class="p">(</span><span class="n">x</span><span class="p">))</span>
</pre></div>
<p>or equivalently (with type inference, and omitting the unnecessary newline):
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">printValue</span><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">String</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"I ate a %s"</span><span class="w"> </span><span class="n">format</span><span class="w"> </span><span class="n">x</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading4"><h4 id="Type_inference">Type inference</h4></div>
<p>Due to <a href="Type_inference" title="Type inference">type inference</a>, the type of variables, function return values, and many other expressions can typically be omitted, as the compiler can deduce it. Examples are <code>val x = "foo"</code> (for an immutable <a href="Constant_(programming)" class="mw-redirect" title="Constant (programming)">constant</a> or <a href="Immutable_object" title="Immutable object">immutable object</a>) or <code>var x = 1.5</code> (for a variable whose value can later be changed). Type inference in Scala is essentially local, in contrast to the more global <a href="Hindley-Milner" class="mw-redirect" title="Hindley-Milner">Hindley-Milner</a> algorithm used in Haskell, <a href="ML_(programming_language)" title="ML (programming language)">ML</a> and other more purely functional languages. This is done to facilitate object-oriented programming. The result is that certain types still need to be declared (most notably, function parameters, and the return types of <a href="Recursion_(computer_science)" title="Recursion (computer science)">recursive functions</a>), e.g.
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">formatApples</span><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">"I ate %d apples"</span><span class="p">.</span><span class="n">format</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
</pre></div>
<p>or (with a return type declared for a recursive function)
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">factorial</span><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">then</span><span class="w"> </span><span class="mi">1</span>
<span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">factorial</span><span class="p">(</span><span class="n">x</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">1</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading4"><h4 id="Anonymous_functions">Anonymous functions</h4></div>
<p>In Scala, functions are objects, and a convenient syntax exists for specifying <a href="Anonymous_function" title="Anonymous function">anonymous functions</a>. An example is the expression <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">x =&gt; x &lt; 2</code>, which specifies a function with one parameter, that compares its argument to see if it is less than 2. It is equivalent to the Lisp form <code class="mw-highlight mw-highlight-lang-lisp mw-content-ltr" style="" dir="ltr"><span class="p">(</span><span class="k">lambda</span><span class="w"> </span><span class="p">(</span><span class="nv">x</span><span class="p">)</span><span class="w"> </span><span class="p">(</span><span class="nb">&lt;</span><span class="w"> </span><span class="nv">x</span><span class="w"> </span><span class="mi">2</span><span class="p">))</span></code>. Note that neither the type of <span class="monospaced">x</span> nor the return type need be explicitly specified, and can generally be inferred by <a href="Type_inference" title="Type inference">type inference</a>; but they can be explicitly specified, e.g. as <code class="mw-highlight mw-highlight-lang-scala mw-content-ltr" style="" dir="ltr"><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="mi">2</span></code> or even <code class="mw-highlight mw-highlight-lang-scala mw-content-ltr" style="" dir="ltr"><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="p">(</span><span class="n">x</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="mi">2</span><span class="p">):</span><span class="w"> </span><span class="nc">Boolean</span></code>.
</p><p>Anonymous functions behave as true <a href="Closure_(computer_science)" class="mw-redirect" title="Closure (computer science)">closures</a> in that they automatically capture any variables that are lexically available in the environment of the enclosing function. Those variables will be available even after the enclosing function returns, and unlike in the case of Java's <i>anonymous inner classes</i> do not need to be declared as final. (It is even possible to modify such variables if they are mutable, and the modified value will be available the next time the anonymous function is called.)
</p><p>An even shorter form of anonymous function uses <a href="Free_variables_and_bound_variables" title="Free variables and bound variables">placeholder</a> variables: For example, the following:
</p>
<dl><dd><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">list map { x =&gt; sqrt(x) }</code></dd></dl>
<p>can be written more concisely as
</p>
<dl><dd><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">list map { sqrt(_) }</code></dd></dl>
<p>or even
</p>
<dl><dd><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">list map sqrt</code></dd></dl>
<div class="mw-heading mw-heading4"><h4 id="Immutability">Immutability</h4></div>
<p>Scala enforces a distinction between immutable and mutable variables. Mutable variables are declared using the <code>var</code> keyword and immutable values are declared using the <code>val</code> keyword.
A variable declared using the <code>val</code> keyword cannot be reassigned in the same way that a variable declared using the <code>final</code> keyword can't be reassigned in Java. <code>val</code>s are only shallowly immutable, that is, an object referenced by a val is not guaranteed to itself be immutable.
</p><p>Immutable classes are encouraged by convention however, and the Scala standard library provides a rich set of immutable <a href="Collection_(abstract_data_type)" title="Collection (abstract data type)">collection</a> classes.
Scala provides mutable and immutable variants of most collection classes, and the immutable version is always used unless the mutable version is explicitly imported.<sup id="cite_ref-34" class="reference"><a href="#cite_note-34"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup>
The immutable variants are <a href="Persistent_data_structure" title="Persistent data structure">persistent data structures</a> that always return an updated copy of an old object instead of updating the old object destructively in place.
An example of this is <a href="Persistent_data_structure#Linked_lists" title="Persistent data structure">immutable linked lists</a> where prepending an element to a list is done by returning a new list node consisting of the element and a reference to the list tail.
Appending an element to a list can only be done by prepending all elements in the old list to a new list with only the new element.
In the same way, inserting an element in the middle of a list will copy the first half of the list, but keep a reference to the second half of the list. This is called structural sharing.
This allows for very easy concurrency — no locks are needed as no shared objects are ever modified.<sup id="cite_ref-35" class="reference"><a href="#cite_note-35"><span class="cite-bracket">[</span>35<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading4"><h4 id="Lazy_(non-strict)_evaluation">Lazy (non-strict) evaluation</h4></div>
<p>Evaluation is strict ("eager") by default. In other words, Scala evaluates expressions as soon as they are available, rather than as needed. However, it is possible to declare a variable non-strict ("lazy") with the <code>lazy</code> keyword, meaning that the code to produce the variable's value will not be evaluated until the first time the variable is referenced. Non-strict collections of various types also exist (such as the type <code>Stream</code>, a non-strict linked list), and any collection can be made non-strict with the <code>view</code> method. Non-strict collections provide a good semantic fit to things like server-produced data, where the evaluation of the code to generate later elements of a list (that in turn triggers a request to a server, possibly located somewhere else on the web) only happens when the elements are actually needed.
</p>
<div class="mw-heading mw-heading4"><h4 id="Tail_recursion">Tail recursion</h4></div>
<p>Functional programming languages commonly provide <a href="Tail_call" title="Tail call">tail call</a> optimization to allow for extensive use of <a href="Recursion_(computer_science)" title="Recursion (computer science)">recursion</a> without <a href="Stack_overflow" title="Stack overflow">stack overflow</a> problems. Limitations in Java bytecode complicate tail call optimization on the JVM. In general, a function that calls itself with a tail call can be optimized, but mutually recursive functions cannot. <a href="Trampoline_(computing)" title="Trampoline (computing)">Trampolines</a> have been suggested as a workaround.<sup id="cite_ref-36" class="reference"><a href="#cite_note-36"><span class="cite-bracket">[</span>36<span class="cite-bracket">]</span></a></sup> Trampoline support has been provided by the Scala library with the object <code>scala.util.control.TailCalls</code> since Scala 2.8.0 (released 14 July 2010). A function may optionally be annotated with <code>@tailrec</code>, in which case it will not compile unless it is tail recursive.<sup id="cite_ref-37" class="reference"><a href="#cite_note-37"><span class="cite-bracket">[</span>37<span class="cite-bracket">]</span></a></sup>
</p><p>
An example of this optimization could be implemented using the <a href="Factorial" title="Factorial">factorial</a> definition. For instance, the recursive version of the factorial: </p><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">factorial</span><span class="p">(</span><span class="n">n</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">then</span><span class="w"> </span><span class="mi">1</span>
<span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">factorial</span><span class="p">(</span><span class="n">n</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">1</span><span class="p">)</span>
</pre></div><p>Could be optimized to the tail recursive version like this: </p><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="nd">@tailrec</span>
<span class="k">def</span><span class="w"> </span><span class="nf">factorial</span><span class="p">(</span><span class="n">n</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">,</span><span class="w"> </span><span class="n">accum</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">then</span><span class="w"> </span><span class="n">accum</span>
<span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="n">factorial</span><span class="p">(</span><span class="n">n</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">accum</span><span class="p">)</span>
</pre></div><p>However, this could compromise composability with other functions because of the new argument on its definition, so it is common to use <a href="Closure_(computer_programming)" title="Closure (computer programming)">closures</a> to preserve its original signature: </p><div class="mw-highlight mw-highlight-lang-scala mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">factorial</span><span class="p">(</span><span class="n">n</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span>

<span class="w"> </span><span class="nd">@tailrec</span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">loop</span><span class="p">(</span><span class="n">current</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">,</span><span class="w"> </span><span class="n">accum</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">):</span><span class="w"> </span><span class="nc">Int</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="n">current</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">0</span><span class="w"> </span><span class="k">then</span><span class="w"> </span><span class="n">accum</span>
<span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="n">loop</span><span class="p">(</span><span class="n">current</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">current</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">accum</span><span class="p">)</span>
<span class="w"> </span>
<span class="w"> </span><span class="n">loop</span><span class="p">(</span><span class="n">n</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">)</span><span class="w"> </span><span class="c1">// Call to the closure using the base case</span>
<span class="w"> </span>
<span class="k">end</span><span class="w"> </span><span class="nn">factorial</span>
</pre></div><p>This ensures tail call optimization and thus prevents a stack overflow error.
</p><div class="mw-heading mw-heading4"><h4 id="Case_classes_and_pattern_matching">Case classes and pattern matching</h4></div>
<p>Scala has built-in support for <a href="Pattern_matching" title="Pattern matching">pattern matching</a>, which can be thought of as a more sophisticated, extensible version of a <a href="Switch_statement" title="Switch statement">switch statement</a>, where arbitrary data types can be matched (rather than just simple types like integers, Booleans and strings), including arbitrary nesting. A special type of class known as a <i>case class</i> is provided, which includes automatic support for pattern matching and can be used to model the <a href="Algebraic_data_type" title="Algebraic data type">algebraic data types</a> used in many functional programming languages. (From the perspective of Scala, a case class is simply a normal class for which the compiler automatically adds certain behaviors that could also be provided manually, e.g., definitions of methods providing for deep comparisons and hashing, and destructuring a case class on its constructor parameters during pattern matching.)
</p><p>An example of a definition of the <a href="Quicksort" title="Quicksort">quicksort</a> algorithm using pattern matching is this:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">def</span><span class="w"> </span><span class="nf">qsort</span><span class="p">(</span><span class="n">list</span><span class="p">:</span><span class="w"> </span><span class="nc">List</span><span class="p">[</span><span class="nc">Int</span><span class="p">]):</span><span class="w"> </span><span class="nc">List</span><span class="p">[</span><span class="nc">Int</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">list</span><span class="w"> </span><span class="k">match</span><span class="w"> </span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="nc">Nil</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="nc">Nil</span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="n">pivot</span><span class="w"> </span><span class="o">::</span><span class="w"> </span><span class="n">tail</span><span class="w"> </span><span class="o">=&gt;</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="p">(</span><span class="n">smaller</span><span class="p">,</span><span class="w"> </span><span class="n">rest</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">tail</span><span class="p">.</span><span class="n">partition</span><span class="p">(</span><span class="n">_</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="n">pivot</span><span class="p">)</span>
<span class="w"> </span><span class="n">qsort</span><span class="p">(</span><span class="n">smaller</span><span class="p">)</span><span class="w"> </span><span class="o">:::</span><span class="w"> </span><span class="n">pivot</span><span class="w"> </span><span class="o">::</span><span class="w"> </span><span class="n">qsort</span><span class="p">(</span><span class="n">rest</span><span class="p">)</span>
</pre></div>
<p>The idea here is that we partition a list into the elements less than a pivot and the elements not less, recursively sort each part, and paste the results together with the pivot in between. This uses the same <a href="Divide_and_conquer_algorithm" class="mw-redirect" title="Divide and conquer algorithm">divide-and-conquer</a> strategy of <a href="Mergesort" class="mw-redirect" title="Mergesort">mergesort</a> and other fast sorting algorithms.
</p><p>The <code>match</code> operator is used to do pattern matching on the object stored in <code>list</code>. Each <code>case</code> expression is tried in turn to see if it will match, and the first match determines the result. In this case, <code>Nil</code> only matches the literal object <code>Nil</code>, but <code>pivot&nbsp;:: tail</code> matches a non-empty list, and simultaneously <i>destructures</i> the list according to the pattern given. In this case, the associated code will have access to a local variable named <code>pivot</code> holding the head of the list, and another variable <code>tail</code> holding the tail of the list. Note that these variables are read-only, and are semantically very similar to variable <a href="Name_binding" title="Name binding">bindings</a> established using the <a href="Let_expression" title="Let expression"><code>let</code></a> operator in Lisp and Scheme.
</p><p>Pattern matching also happens in local variable declarations. In this case, the return value of the call to <code>tail.partition</code> is a <a href="Tuple_(computer_science)" class="mw-redirect" title="Tuple (computer science)">tuple</a> — in this case, two lists. (Tuples differ from other types of containers, e.g. lists, in that they are always of fixed size and the elements can be of differing types — although here they are both the same.) Pattern matching is the easiest way of fetching the two parts of the tuple.
</p><p>The form <code>_ &lt; pivot</code> is a declaration of an <a href="Anonymous_function" title="Anonymous function">anonymous function</a> with a placeholder variable; see the section above on anonymous functions.
</p><p>The list operators <code>::</code> (which adds an element onto the beginning of a list, similar to <code>cons</code> in Lisp and Scheme) and <code>:::</code> (which appends two lists together, similar to <code>append</code> in Lisp and Scheme) both appear. Despite appearances, there is nothing "built-in" about either of these operators. As specified above, any string of symbols can serve as function name, and a method applied to an object can be written "infix"-style without the period or parentheses. The line above as written:
</p>
<dl><dd><dl><dd><code>qsort(smaller)&nbsp;::: pivot&nbsp;:: qsort(rest)</code></dd></dl></dd></dl>
<p>could also be written thus:
</p>
<dl><dd><dl><dd><code>qsort(rest).::(pivot).:::(qsort(smaller))</code></dd></dl></dd></dl>
<p>in more standard method-call notation. (Methods that end with a colon are right-associative and bind to the object to the right.)
</p>
<div class="mw-heading mw-heading4"><h4 id="Partial_functions">Partial functions</h4></div>
<p>In the pattern-matching example above, the body of the <code>match</code> operator is a <a href="Partial_function" title="Partial function">partial function</a>, which consists of a series of <code>case</code> expressions, with the first matching expression prevailing, similar to the body of a <a href="Switch_statement" title="Switch statement">switch statement</a>. Partial functions are also used in the exception-handling portion of a <code>try</code> statement:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">try</span><span class="w"> </span>
<span class="w"> </span><span class="p">...</span>
<span class="k">catch</span><span class="w"> </span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="n">nfe</span><span class="p">:</span><span class="w"> </span><span class="nc">NumberFormatException</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="n">nfe</span><span class="p">);</span><span class="w"> </span><span class="nc">List</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="n">_</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="nc">Nil</span>
</pre></div>
<p>Finally, a partial function can be used alone, and the result of calling it is equivalent to doing a <code>match</code> over it. For example, the prior code for <a href="Quicksort" title="Quicksort">quicksort</a> can be written thus:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="kd">val</span><span class="w"> </span><span class="n">qsort</span><span class="p">:</span><span class="w"> </span><span class="nc">List</span><span class="p">[</span><span class="nc">Int</span><span class="p">]</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="nc">List</span><span class="p">[</span><span class="nc">Int</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="nc">Nil</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="nc">Nil</span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="n">pivot</span><span class="w"> </span><span class="o">::</span><span class="w"> </span><span class="n">tail</span><span class="w"> </span><span class="o">=&gt;</span>
<span class="w"> </span><span class="kd">val</span><span class="w"> </span><span class="p">(</span><span class="n">smaller</span><span class="p">,</span><span class="w"> </span><span class="n">rest</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">tail</span><span class="p">.</span><span class="n">partition</span><span class="p">(</span><span class="n">_</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="n">pivot</span><span class="p">)</span>
<span class="w"> </span><span class="n">qsort</span><span class="p">(</span><span class="n">smaller</span><span class="p">)</span><span class="w"> </span><span class="o">:::</span><span class="w"> </span><span class="n">pivot</span><span class="w"> </span><span class="o">::</span><span class="w"> </span><span class="n">qsort</span><span class="p">(</span><span class="n">rest</span><span class="p">)</span>
</pre></div>
<p>Here a read-only <i>variable</i> is declared whose type is a function from lists of integers to lists of integers, and bind it to a partial function. (Note that the single parameter of the partial function is never explicitly declared or named.) However, we can still call this variable exactly as if it were a normal function:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="n">scala</span><span class="o">&gt;</span><span class="w"> </span><span class="n">qsort</span><span class="p">(</span><span class="nc">List</span><span class="p">(</span><span class="mi">6</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">5</span><span class="p">,</span><span class="mi">9</span><span class="p">))</span>
<span class="n">res32</span><span class="p">:</span><span class="w"> </span><span class="nc">List</span><span class="p">[</span><span class="nc">Int</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">List</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="mi">5</span><span class="p">,</span><span class="w"> </span><span class="mi">6</span><span class="p">,</span><span class="w"> </span><span class="mi">9</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading3"><h3 id="Object-oriented_extensions">Object-oriented extensions</h3></div>
<p>Scala is a pure <a href="Object-oriented_language" class="mw-redirect" title="Object-oriented language">object-oriented language</a> in the sense that every value is an <a href="Object_(computer_science)" title="Object (computer science)">object</a>. <a href="Data_type" title="Data type">Data types</a> and behaviors of objects are described by <a href="Class_(computer_science)" class="mw-redirect" title="Class (computer science)">classes</a> and <a href="Trait_(computer_science)" class="mw-redirect" title="Trait (computer science)">traits</a>. Class abstractions are extended by <a href="Subclass_(computer_science)" class="mw-redirect" title="Subclass (computer science)">subclassing</a> and by a flexible <a href="Mixin" title="Mixin">mixin</a>-based composition mechanism to avoid the problems of <a href="Multiple_inheritance" title="Multiple inheritance">multiple inheritance</a>.
</p><p>Traits are Scala's replacement for Java's <a href="Protocol_(object-oriented_programming)" class="mw-redirect" title="Protocol (object-oriented programming)">interfaces</a>. Interfaces in Java versions under 8 are highly restricted, able only to contain abstract function declarations. This has led to criticism that providing convenience methods in interfaces is awkward (the same methods must be reimplemented in every implementation), and extending a published interface in a backwards-compatible way is impossible. Traits are similar to <a href="Mixin" title="Mixin">mixin</a> classes in that they have nearly all the power of a regular abstract class, lacking only class parameters (Scala's equivalent to Java's constructor parameters), since traits are always mixed in with a class. The <code>super</code> operator behaves specially in traits, allowing traits to be chained using composition in addition to inheritance. The following example is a simple window system:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">abstract</span><span class="w"> </span><span class="k">class</span><span class="w"> </span><span class="nc">Window</span><span class="p">:</span>
<span class="w"> </span><span class="c1">// abstract</span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">draw</span><span class="p">()</span>

<span class="k">class</span><span class="w"> </span><span class="nc">SimpleWindow</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">Window</span><span class="p">:</span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">draw</span><span class="p">()</span><span class="w"> </span>
<span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"in SimpleWindow"</span><span class="p">)</span>
<span class="w"> </span><span class="c1">// draw a basic window</span>

<span class="k">trait</span><span class="w"> </span><span class="nc">WindowDecoration</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">Window</span>

<span class="k">trait</span><span class="w"> </span><span class="nc">HorizontalScrollbarDecoration</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">WindowDecoration</span><span class="p">:</span>
<span class="w"> </span><span class="c1">// "abstract override" is needed here for "super()" to work because the parent</span>
<span class="w"> </span><span class="c1">// function is abstract. If it were concrete, regular "override" would be enough.</span>
<span class="w"> </span><span class="k">abstract</span><span class="w"> </span><span class="k">override</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">draw</span><span class="p">()</span><span class="w"> </span>
<span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"in HorizontalScrollbarDecoration"</span><span class="p">)</span>
<span class="w"> </span><span class="bp">super</span><span class="p">.</span><span class="n">draw</span><span class="p">()</span>
<span class="w"> </span><span class="c1">// now draw a horizontal scrollbar</span>

<span class="k">trait</span><span class="w"> </span><span class="nc">VerticalScrollbarDecoration</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">WindowDecoration</span><span class="p">:</span>
<span class="w"> </span><span class="k">abstract</span><span class="w"> </span><span class="k">override</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">draw</span><span class="p">()</span><span class="w"> </span>
<span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"in VerticalScrollbarDecoration"</span><span class="p">)</span>
<span class="w"> </span><span class="bp">super</span><span class="p">.</span><span class="n">draw</span><span class="p">()</span>
<span class="w"> </span><span class="c1">// now draw a vertical scrollbar</span>

<span class="k">trait</span><span class="w"> </span><span class="nc">TitleDecoration</span><span class="w"> </span><span class="k">extends</span><span class="w"> </span><span class="nc">WindowDecoration</span><span class="p">:</span>
<span class="w"> </span><span class="k">abstract</span><span class="w"> </span><span class="k">override</span><span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">draw</span><span class="p">()</span><span class="w"> </span>
<span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"in TitleDecoration"</span><span class="p">)</span>
<span class="w"> </span><span class="bp">super</span><span class="p">.</span><span class="n">draw</span><span class="p">()</span>
<span class="w"> </span><span class="c1">// now draw the title bar</span>
</pre></div>
<p>A variable may be declared thus:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="kd">val</span><span class="w"> </span><span class="n">mywin</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">new</span><span class="w"> </span><span class="nc">SimpleWindow</span><span class="w"> </span><span class="k">with</span><span class="w"> </span><span class="nc">VerticalScrollbarDecoration</span><span class="w"> </span><span class="k">with</span><span class="w"> </span><span class="nc">HorizontalScrollbarDecoration</span><span class="w"> </span><span class="k">with</span><span class="w"> </span><span class="nc">TitleDecoration</span>
</pre></div>
<p>The result of calling <code>mywin.draw()</code> is:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="n">in</span><span class="w"> </span><span class="nc">TitleDecoration</span>
<span class="n">in</span><span class="w"> </span><span class="nc">HorizontalScrollbarDecoration</span>
<span class="n">in</span><span class="w"> </span><span class="nc">VerticalScrollbarDecoration</span>
<span class="n">in</span><span class="w"> </span><span class="nc">SimpleWindow</span>
</pre></div>
<p>In other words, the call to <code>draw</code> first executed the code in <code>TitleDecoration</code> (the last trait mixed in), then (through the <code>super()</code> calls) threaded back through the other mixed-in traits and eventually to the code in <code>Window</code>, <i>even though none of the traits inherited from one another</i>. This is similar to the <a href="Decorator_pattern" title="Decorator pattern">decorator pattern</a>, but is more concise and less error-prone, as it doesn't require explicitly encapsulating the parent window, explicitly forwarding functions whose implementation isn't changed, or relying on run-time initialization of entity relationships. In other languages, a similar effect could be achieved at compile-time with a long linear chain of <a href="Inheritance_(object-oriented_programming)#Code_reuse" title="Inheritance (object-oriented programming)">implementation inheritance</a>, but with the disadvantage compared to Scala that one linear inheritance chain would have to be declared for each possible combination of the mix-ins.
</p>
<div class="mw-heading mw-heading3"><h3 id="Expressive_type_system">Expressive type system</h3></div>
<p>Scala is equipped with an expressive static type system that mostly enforces the safe and coherent use of abstractions. The type system is, however, not <a href="Soundness" title="Soundness">sound</a>.<sup id="cite_ref-unsound_38-0" class="reference"><a href="#cite_note-unsound-38"><span class="cite-bracket">[</span>38<span class="cite-bracket">]</span></a></sup> In particular, the type system supports:
</p>
<ul><li><a href="Classes_(computer_science)" class="mw-redirect" title="Classes (computer science)">Classes</a> and <a href="Abstract_type" title="Abstract type">abstract types</a> as object members</li>
<li>Structural types</li>
<li>Path-dependent types</li>
<li>Compound types</li>
<li>Explicitly typed self references</li>
<li><a href="Generic_programming" title="Generic programming">Generic classes</a></li>
<li><a href="Polymorphism_(computer_science)" title="Polymorphism (computer science)">Polymorphic</a> methods</li>
<li>Upper and lower type bounds</li>
<li><a href="Variance_(computer_science)" class="mw-redirect" title="Variance (computer science)">Variance</a></li>
<li><a href="Annotation" title="Annotation">Annotation</a></li>
<li>Views</li></ul>
<p>Scala is able to <a href="Type_inference" title="Type inference">infer types</a> by use. This makes most static type declarations optional. Static types need not be explicitly declared unless a compiler error indicates the need. In practice, some static type declarations are included for the sake of code clarity.
</p>
<div class="mw-heading mw-heading3"><h3 id="Type_enrichment">Type enrichment</h3></div>
<p>A common technique in Scala, known as "enrich my library"<sup id="cite_ref-39" class="reference"><a href="#cite_note-39"><span class="cite-bracket">[</span>39<span class="cite-bracket">]</span></a></sup> (originally termed "<a href="Pimp_My_Ride" title="Pimp My Ride">pimp my library</a>" by Martin Odersky in 2006;<sup id="cite_ref-artima1_32-1" class="reference"><a href="#cite_note-artima1-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup> concerns were raised about this phrasing due to its negative connotations<sup id="cite_ref-40" class="reference"><a href="#cite_note-40"><span class="cite-bracket">[</span>40<span class="cite-bracket">]</span></a></sup> and immaturity<sup id="cite_ref-41" class="reference"><a href="#cite_note-41"><span class="cite-bracket">[</span>41<span class="cite-bracket">]</span></a></sup>), allows new methods to be used as if they were added to existing types. This is similar to the C# concept of <a href="Extension_method" title="Extension method">extension methods</a> but more powerful, because the technique is not limited to adding methods and can, for instance, be used to implement new interfaces. In Scala, this technique involves declaring an <a href="Implicit_conversion" class="mw-redirect" title="Implicit conversion">implicit conversion</a> from the type "receiving" the method to a new type (typically, a class) that wraps the original type and provides the additional method. If a method cannot be found for a given type, the compiler automatically searches for any applicable implicit conversions to types that provide the method in question.
</p><p>This technique allows new methods to be added to an existing class using an add-on library such that only code that <i>imports</i> the add-on library gets the new functionality, and all other code is unaffected.
</p><p>The following example shows the enrichment of type <code>Int</code> with methods <code>isEven</code> and <code>isOdd</code>:
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="k">object</span><span class="w"> </span><span class="nc">MyExtensions</span><span class="p">:</span>
<span class="w"> </span><span class="k">extension</span><span class="w"> </span><span class="p">(</span><span class="n">i</span><span class="p">:</span><span class="w"> </span><span class="nc">Int</span><span class="p">)</span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">isEven</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">%</span><span class="w"> </span><span class="mi">2</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">0</span>
<span class="w"> </span><span class="k">def</span><span class="w"> </span><span class="nf">isOdd</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o">!</span><span class="n">i</span><span class="p">.</span><span class="n">isEven</span>

<span class="k">import</span><span class="w"> </span><span class="nc">MyExtensions</span><span class="p">.</span><span class="n">*</span><span class="w"> </span><span class="c1">// bring implicit enrichment into scope</span>
<span class="mi">4</span><span class="p">.</span><span class="n">isEven</span><span class="w"> </span><span class="c1">// -&gt; true</span>
</pre></div>
<p>Importing the members of <code>MyExtensions</code> brings the implicit conversion to extension class <code>IntPredicates</code> into scope.<sup id="cite_ref-42" class="reference"><a href="#cite_note-42"><span class="cite-bracket">[</span>42<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Concurrency">Concurrency</h2></div>
<p>Scala's standard library includes support for <a href="Futures_and_promises" title="Futures and promises">futures and promises</a>, in addition to the standard Java concurrency APIs. Originally, it also included support for the <a href="Actor_model" title="Actor model">actor model</a>, which is now available as a separate <a href="Source-available" class="mw-redirect" title="Source-available">source-available</a> platform <a href="Akka_(toolkit)" title="Akka (toolkit)">Akka</a><sup id="cite_ref-AkkaAbout_43-0" class="reference"><a href="#cite_note-AkkaAbout-43"><span class="cite-bracket">[</span>43<span class="cite-bracket">]</span></a></sup> licensed by <a href="Lightbend_Inc." class="mw-redirect" title="Lightbend Inc.">Lightbend Inc.</a> Akka actors may be <a href="Distributed_computing" title="Distributed computing">distributed</a> or combined with <a href="Software_transactional_memory" title="Software transactional memory">software transactional memory</a> (<i>transactors</i>). Alternative <a href="Communicating_sequential_processes" title="Communicating sequential processes">communicating sequential processes</a> (CSP) implementations for channel-based message passing are Communicating Scala Objects,<sup id="cite_ref-CSO_44-0" class="reference"><a href="#cite_note-CSO-44"><span class="cite-bracket">[</span>44<span class="cite-bracket">]</span></a></sup> or simply via <a href="JCSP" title="JCSP">JCSP</a>.
</p><p>An Actor is like a thread instance with a mailbox. It can be created by <code>system.actorOf</code>, overriding the <code>receive</code> method to receive messages and using the <code>!</code> (exclamation point) method to send a message.<sup id="cite_ref-45" class="reference"><a href="#cite_note-45"><span class="cite-bracket">[</span>45<span class="cite-bracket">]</span></a></sup>
The following example shows an EchoServer that can receive messages and then print them.
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="kd">val</span><span class="w"> </span><span class="n">echoServer</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">actor</span><span class="p">(</span><span class="k">new</span><span class="w"> </span><span class="nc">Act</span><span class="p">:</span>
<span class="w"> </span><span class="n">become</span><span class="p">:</span>
<span class="w"> </span><span class="k">case</span><span class="w"> </span><span class="n">msg</span><span class="w"> </span><span class="o">=&gt;</span><span class="w"> </span><span class="n">println</span><span class="p">(</span><span class="s">"echo "</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">msg</span><span class="p">)</span>
<span class="p">)</span>

<span class="n">echoServer</span><span class="w"> </span><span class="o">!</span><span class="w"> </span><span class="s">"hi"</span>
</pre></div>
<p>Scala also comes with built-in support for data-parallel programming in the form of Parallel Collections<sup id="cite_ref-46" class="reference"><a href="#cite_note-46"><span class="cite-bracket">[</span>46<span class="cite-bracket">]</span></a></sup> integrated into its Standard Library since version 2.9.0.
</p><p>The following example shows how to use Parallel Collections to improve performance.<sup id="cite_ref-47" class="reference"><a href="#cite_note-47"><span class="cite-bracket">[</span>47<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><pre><span class="kd">val</span><span class="w"> </span><span class="n">urls</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">List</span><span class="p">(</span><span class="s">"https://scala-lang.org"</span><span class="p">,</span><span class="w"> </span><span class="s">"https://github.com/scala/scala"</span><span class="p">)</span>

<span class="k">def</span><span class="w"> </span><span class="nf">fromURL</span><span class="p">(</span><span class="n">url</span><span class="p">:</span><span class="w"> </span><span class="nc">String</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">scala</span><span class="p">.</span><span class="n">io</span><span class="p">.</span><span class="nc">Source</span><span class="p">.</span><span class="n">fromURL</span><span class="p">(</span><span class="n">url</span><span class="p">)</span>
<span class="w"> </span><span class="p">.</span><span class="n">getLines</span><span class="p">().</span><span class="n">mkString</span><span class="p">(</span><span class="s">"\n"</span><span class="p">)</span>

<span class="kd">val</span><span class="w"> </span><span class="n">t</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">System</span><span class="p">.</span><span class="n">currentTimeMillis</span><span class="p">()</span>
<span class="n">urls</span><span class="p">.</span><span class="n">par</span><span class="p">.</span><span class="n">map</span><span class="p">(</span><span class="n">fromURL</span><span class="p">(</span><span class="n">_</span><span class="p">))</span><span class="w"> </span><span class="c1">// par returns parallel implementation of a collection</span>
<span class="n">println</span><span class="p">(</span><span class="s">"time: "</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="p">(</span><span class="nc">System</span><span class="p">.</span><span class="n">currentTimeMillis</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">t</span><span class="p">)</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">"ms"</span><span class="p">)</span>
</pre></div>
<p>Besides futures and promises, actor support, and <a href="Data_parallelism" title="Data parallelism">data parallelism</a>, Scala also supports asynchronous programming with software transactional memory, and event streams.<sup id="cite_ref-48" class="reference"><a href="#cite_note-48"><span class="cite-bracket">[</span>48<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Cluster_computing">Cluster computing</h2></div>
<p>The most well-known open-source cluster-computing solution written in Scala is <a href="Apache_Spark" title="Apache Spark">Apache Spark</a>. Additionally, <a href="Apache_Kafka" title="Apache Kafka">Apache Kafka</a>, the <a href="Publish%E2%80%93subscribe" class="mw-redirect" title="Publish–subscribe">publish–subscribe</a> <a href="Message_queue" title="Message queue">message queue</a> popular with Spark and other stream processing technologies, is written in Scala.
</p>
<div class="mw-heading mw-heading2"><h2 id="Testing">Testing</h2></div>
<p>There are several ways to test code in Scala. ScalaTest supports multiple testing styles and can integrate with Java-based testing frameworks.<sup id="cite_ref-49" class="reference"><a href="#cite_note-49"><span class="cite-bracket">[</span>49<span class="cite-bracket">]</span></a></sup> ScalaCheck is a library similar to Haskell's <a href="QuickCheck" title="QuickCheck">QuickCheck</a>.<sup id="cite_ref-50" class="reference"><a href="#cite_note-50"><span class="cite-bracket">[</span>50<span class="cite-bracket">]</span></a></sup> specs2 is a library for writing executable software specifications.<sup id="cite_ref-51" class="reference"><a href="#cite_note-51"><span class="cite-bracket">[</span>51<span class="cite-bracket">]</span></a></sup> ScalaMock provides support for testing high-order and curried functions.<sup id="cite_ref-52" class="reference"><a href="#cite_note-52"><span class="cite-bracket">[</span>52<span class="cite-bracket">]</span></a></sup> <a href="JUnit" title="JUnit">JUnit</a> and <a href="TestNG" title="TestNG">TestNG</a> are popular testing frameworks written in Java.
</p>
<div class="mw-heading mw-heading2"><h2 id="Versions">Versions</h2></div>
<table class="wikitable">

<tbody><tr>
<th scope="col">Version
</th>
<th scope="col">Released
</th>
<th scope="col">Features
</th></tr>
<tr>
<th scope="row">1.0.0-b2<sup id="cite_ref-change_history_53-0" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">8 December 2003
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">1.1.0-b1<sup id="cite_ref-change_history_53-1" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">19 February 2004
</td>
<td>
<ul><li>scala.Enumeration</li>
<li>Scala license was changed to the revised BSD license</li></ul>
</td></tr>
<tr>
<th scope="row">1.1.1<sup id="cite_ref-change_history_53-2" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">23 March 2004
</td>
<td>
<ul><li>Support for Java static inner classes</li>
<li>Library class improvements to Iterable, Array, xml.Elem, Buffer</li></ul>
</td></tr>
<tr>
<th scope="row">1.2.0<sup id="cite_ref-change_history_53-3" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">9 June 2004
</td>
<td>
<ul><li>Views</li>
<li>XML literals (to "be dropped in the near future, to be replaced with XML string interpolation"<sup id="cite_ref-54" class="reference"><a href="#cite_note-54"><span class="cite-bracket">[</span>54<span class="cite-bracket">]</span></a></sup>)</li></ul>
</td></tr>
<tr>
<th scope="row">1.3.0<sup id="cite_ref-change_history_53-4" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">16 September 2004
</td>
<td>
<ul><li>Support for Microsoft .NET</li>
<li>Method closures</li>
<li>Type syntax for parameterless methods changed from <code>[] T</code> to <code>=&gt; T</code></li></ul>
</td></tr>
<tr>
<th scope="row">1.4.0<sup id="cite_ref-change_history_53-5" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">20 June 2005
</td>
<td>
<ul><li>Attributes</li>
<li><code>match</code> keyword replaces <code>match</code> method</li>
<li>Experimental support for runtime types</li></ul>
</td></tr>
<tr>
<th scope="row">2.0<sup id="cite_ref-55" class="reference"><a href="#cite_note-55"><span class="cite-bracket">[</span>55<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">12 March 2006
</td>
<td>
<ul><li>Compiler completely rewritten in Scala</li>
<li>Experimental support for Java generics</li>
<li><code>implicit</code> and <code>requires</code> keywords</li>
<li><code>match</code> keyword only allowed infix operator</li>
<li><code>with</code> connective is only allowed following an <code>extends</code> clause</li>
<li>Newlines can be used as statement separators in place of semicolons</li>
<li>Regular expression match patterns restricted to sequence patterns only</li>
<li>For-comprehensions admit value and pattern definitions</li>
<li>Class parameters may be prefixed by val or var</li>
<li>Private visibility has qualifiers</li></ul>
</td></tr>
<tr>
<th scope="row">2.1.0<sup id="cite_ref-change_history_53-6" class="reference"><a href="#cite_note-change_history-53"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">17 March 2006
</td>
<td>
<ul><li>sbaz tool integrated in the Scala distribution</li>
<li><code>match</code> keyword replaces <code>match</code> method</li>
<li>Experimental support for runtime types</li></ul>
</td></tr>
<tr>
<th scope="row">2.1.8<sup id="cite_ref-56" class="reference"><a href="#cite_note-56"><span class="cite-bracket">[</span>56<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">23 August 2006
</td>
<td>
<ul><li>Protected visibility has qualifiers</li>
<li>Private members of a class can be referenced from the companion module of the class and vice versa</li>
<li>Implicit lookup generalised</li>
<li>Typed pattern match tightened for singleton types</li></ul>
</td></tr>
<tr>
<th scope="row">2.3.0<sup id="cite_ref-57" class="reference"><a href="#cite_note-57"><span class="cite-bracket">[</span>57<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">23 November 2006
</td>
<td>
<ul><li>Functions returning <code>Unit</code> don't have to explicitly state a return type</li>
<li>Type variables and types are distinguished between in pattern matching</li>
<li><code>All</code> and <code>AllRef</code> renamed to <code>Nothing</code> and <code>Null</code></li></ul>
</td></tr>
<tr>
<th scope="row">2.4.0<sup id="cite_ref-58" class="reference"><a href="#cite_note-58"><span class="cite-bracket">[</span>58<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">9 March 2007
</td>
<td>
<ul><li><code>private</code> and <code>protected</code> modifiers accept a <code>[this]</code> qualifier</li>
<li>Tuples can be written with round brackets</li>
<li>Primary constructor of a class can now be marked private or protected</li>
<li>Attributes changed to annotations with new syntax</li>
<li>Self aliases</li>
<li>Operators can be combined with assignment</li></ul>
</td></tr>
<tr>
<th scope="row">2.5.0<sup id="cite_ref-59" class="reference"><a href="#cite_note-59"><span class="cite-bracket">[</span>59<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">2 May 2007
</td>
<td>
<ul><li>Type parameters and abstract type members can also abstract over type constructors</li>
<li>Fields of an object can be initialized before parent constructors are called</li>
<li>Syntax change for comprehensions</li>
<li>Implicit anonymous functions (with underscores for parameters)</li>
<li>Pattern matching of anonymous functions extended to support any arty</li></ul>
</td></tr>
<tr>
<th scope="row">2.6.0<sup id="cite_ref-60" class="reference"><a href="#cite_note-60"><span class="cite-bracket">[</span>60<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">27 July 2007
</td>
<td>
<ul><li>Existential types</li>
<li>Lazy values</li>
<li>Structural types</li></ul>
</td></tr>
<tr>
<th scope="row">2.7.0<sup id="cite_ref-61" class="reference"><a href="#cite_note-61"><span class="cite-bracket">[</span>61<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 February 2008
</td>
<td>
<ul><li>Java generic types supported by default</li>
<li>Case classes functionality extended</li></ul>
</td></tr>
<tr>
<th scope="row">2.8.0<sup id="cite_ref-62" class="reference"><a href="#cite_note-62"><span class="cite-bracket">[</span>62<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">14 Jul 2010
</td>
<td>
<ul><li>Revision the common, uniform, and all-encompassing framework for collection types.</li>
<li>Type specialisation</li>
<li>Named and <a href="Default_argument" title="Default argument">default arguments</a></li>
<li>Package objects</li>
<li>Improved annotations</li></ul>
</td></tr>
<tr>
<th scope="row">2.9.0<sup id="cite_ref-63" class="reference"><a href="#cite_note-63"><span class="cite-bracket">[</span>63<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">12 May 2011
</td>
<td>
<ul><li>Parallel collections</li>
<li>Thread safe <code>App</code> trait replaces <code>Application</code> trait</li>
<li><code>DelayedInit</code> trait</li>
<li>Java interop improvements</li></ul>
</td></tr>
<tr>
<th scope="row">2.10<sup id="cite_ref-64" class="reference"><a href="#cite_note-64"><span class="cite-bracket">[</span>64<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">4 January 2013
</td>
<td>
<ul><li>Value classes<sup id="cite_ref-65" class="reference"><a href="#cite_note-65"><span class="cite-bracket">[</span>65<span class="cite-bracket">]</span></a></sup></li>
<li>Implicit classes<sup id="cite_ref-66" class="reference"><a href="#cite_note-66"><span class="cite-bracket">[</span>66<span class="cite-bracket">]</span></a></sup></li>
<li>String interpolation<sup id="cite_ref-67" class="reference"><a href="#cite_note-67"><span class="cite-bracket">[</span>67<span class="cite-bracket">]</span></a></sup></li>
<li>Futures and promises<sup id="cite_ref-68" class="reference"><a href="#cite_note-68"><span class="cite-bracket">[</span>68<span class="cite-bracket">]</span></a></sup></li>
<li>Dynamic and applyDynamic<sup id="cite_ref-69" class="reference"><a href="#cite_note-69"><span class="cite-bracket">[</span>69<span class="cite-bracket">]</span></a></sup></li>
<li>Dependent method types:
<ul><li><code class="mw-highlight mw-highlight-lang-scala mw-content-ltr" dir="ltr"><span class="k">def</span><span class="w"> </span><span class="nf">identity</span><span class="p">(</span><span class="n">x</span><span class="p">:</span><span class="w"> </span><span class="nc">AnyRef</span><span class="p">):</span><span class="w"> </span><span class="n">x</span><span class="p">.</span><span class="k">type</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">x</span><span class="w"> </span><span class="c1">// the return type says we return exactly what we got</span></code></li></ul></li>
<li>New bytecode emitter based on ASM:
<ul><li>Can target JDK 1.5, 1.6 and 1.7</li>
<li>Emits 1.6 bytecode by default</li>
<li>Old 1.5 backend is deprecated</li></ul></li>
<li>A new pattern matcher: rewritten from scratch to generate more robust code (no more exponential blow-up)
<ul><li>code generation and analyses are now independent (the latter can be turned off with -Xno-patmat-analysis)</li></ul></li>
<li>Scaladoc improvements
<ul><li>Implicits (-implicits flag)</li>
<li>Diagrams (-diagrams flag, requires graphviz)</li>
<li>Groups (-groups)</li></ul></li>
<li>Modularized language features<sup id="cite_ref-70" class="reference"><a href="#cite_note-70"><span class="cite-bracket">[</span>70<span class="cite-bracket">]</span></a></sup></li>
<li>Parallel collections<sup id="cite_ref-71" class="reference"><a href="#cite_note-71"><span class="cite-bracket">[</span>71<span class="cite-bracket">]</span></a></sup> are now configurable with custom thread pools</li>
<li>Akka actors now part of the distribution
<ul><li>scala.actors have been deprecated and the akka implementation is now included in the distribution.</li></ul></li>
<li>Performance improvements
<ul><li>Faster inliner</li>
<li>Range#sum is now O(1)</li></ul></li>
<li>Update of ForkJoin library</li>
<li>Fixes in immutable TreeSet/TreeMap</li>
<li>Improvements to PartialFunctions</li>
<li>Addition of&nbsp;??? and NotImplementedError</li>
<li>Addition of IsTraversableOnce + IsTraversableLike type classes for extension methods</li>
<li>Deprecations and cleanup</li>
<li>Floating point and octal literal syntax deprecation</li>
<li>Removed scala.dbc</li></ul>
<p>Experimental features
</p>
<ul><li>Scala reflection<sup id="cite_ref-72" class="reference"><a href="#cite_note-72"><span class="cite-bracket">[</span>72<span class="cite-bracket">]</span></a></sup></li>
<li>Macros<sup id="cite_ref-73" class="reference"><a href="#cite_note-73"><span class="cite-bracket">[</span>73<span class="cite-bracket">]</span></a></sup></li></ul>
</td></tr>
<tr>
<th scope="row">2.10.2<sup id="cite_ref-74" class="reference"><a href="#cite_note-74"><span class="cite-bracket">[</span>74<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">6 June 2013
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.10.3<sup id="cite_ref-75" class="reference"><a href="#cite_note-75"><span class="cite-bracket">[</span>75<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">1 October 2013
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.10.4<sup id="cite_ref-76" class="reference"><a href="#cite_note-76"><span class="cite-bracket">[</span>76<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">18 March 2014
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.10.5<sup id="cite_ref-77" class="reference"><a href="#cite_note-77"><span class="cite-bracket">[</span>77<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">5 March 2015
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.0<sup id="cite_ref-78" class="reference"><a href="#cite_note-78"><span class="cite-bracket">[</span>78<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">21 April 2014
</td>
<td>
<ul><li>Collection performance improvements</li>
<li>Compiler performance improvements</li></ul>
</td></tr>
<tr>
<th scope="row">2.11.1<sup id="cite_ref-79" class="reference"><a href="#cite_note-79"><span class="cite-bracket">[</span>79<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">20 May 2014
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.2<sup id="cite_ref-80" class="reference"><a href="#cite_note-80"><span class="cite-bracket">[</span>80<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">22 July 2014
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.4<sup id="cite_ref-81" class="reference"><a href="#cite_note-81"><span class="cite-bracket">[</span>81<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">31 October 2014
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.5<sup id="cite_ref-82" class="reference"><a href="#cite_note-82"><span class="cite-bracket">[</span>82<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">8 January 2015
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.6<sup id="cite_ref-83" class="reference"><a href="#cite_note-83"><span class="cite-bracket">[</span>83<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">5 March 2015
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.7<sup id="cite_ref-84" class="reference"><a href="#cite_note-84"><span class="cite-bracket">[</span>84<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">23 June 2015
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.8<sup id="cite_ref-85" class="reference"><a href="#cite_note-85"><span class="cite-bracket">[</span>85<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">8 March 2016
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.11<sup id="cite_ref-1Q17_86-0" class="reference"><a href="#cite_note-1Q17-86"><span class="cite-bracket">[</span>86<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">18 April 2017
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.11.12<sup id="cite_ref-87" class="reference"><a href="#cite_note-87"><span class="cite-bracket">[</span>87<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">13 November 2017
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.0<sup id="cite_ref-88" class="reference"><a href="#cite_note-88"><span class="cite-bracket">[</span>88<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">3 November 2016
</td>
<td>
<ul><li>Java 8 required</li>
<li>Java 8 bytecode generated</li>
<li>Java 8 SAM (<a href="Functional_interface" class="mw-redirect" title="Functional interface">Functional interface</a>) language support</li></ul>
</td></tr>
<tr>
<th scope="row">2.12.1<sup id="cite_ref-89" class="reference"><a href="#cite_note-89"><span class="cite-bracket">[</span>89<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">5 December 2016
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.2<sup id="cite_ref-1Q17_86-1" class="reference"><a href="#cite_note-1Q17-86"><span class="cite-bracket">[</span>86<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">18 April 2017
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.3<sup id="cite_ref-90" class="reference"><a href="#cite_note-90"><span class="cite-bracket">[</span>90<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">26 July 2017
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.4<sup id="cite_ref-91" class="reference"><a href="#cite_note-91"><span class="cite-bracket">[</span>91<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">17 October 2017
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.5<sup id="cite_ref-92" class="reference"><a href="#cite_note-92"><span class="cite-bracket">[</span>92<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">15 March 2018
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.6<sup id="cite_ref-93" class="reference"><a href="#cite_note-93"><span class="cite-bracket">[</span>93<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">27 April 2018
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.7<sup id="cite_ref-94" class="reference"><a href="#cite_note-94"><span class="cite-bracket">[</span>94<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">27 September 2018
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.8<sup id="cite_ref-95" class="reference"><a href="#cite_note-95"><span class="cite-bracket">[</span>95<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">4 December 2018
</td>
<td>
<ul><li>First Scala 2.12 release with the license changed to Apache v2.0</li></ul>
</td></tr>
<tr>
<th scope="row">2.12.9<sup id="cite_ref-96" class="reference"><a href="#cite_note-96"><span class="cite-bracket">[</span>96<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">5 August 2019
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.10<sup id="cite_ref-97" class="reference"><a href="#cite_note-97"><span class="cite-bracket">[</span>97<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">10 September 2019
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.11<sup id="cite_ref-98" class="reference"><a href="#cite_note-98"><span class="cite-bracket">[</span>98<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">16 March 2020
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.12<sup id="cite_ref-99" class="reference"><a href="#cite_note-99"><span class="cite-bracket">[</span>99<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">13 July 2020
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.13<sup id="cite_ref-100" class="reference"><a href="#cite_note-100"><span class="cite-bracket">[</span>100<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">12 January 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.14<sup id="cite_ref-101" class="reference"><a href="#cite_note-101"><span class="cite-bracket">[</span>101<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">28 May 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.15<sup id="cite_ref-102" class="reference"><a href="#cite_note-102"><span class="cite-bracket">[</span>102<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">14 Sep 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.16<sup id="cite_ref-103" class="reference"><a href="#cite_note-103"><span class="cite-bracket">[</span>103<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">10 June 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.17<sup id="cite_ref-104" class="reference"><a href="#cite_note-104"><span class="cite-bracket">[</span>104<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">16 September 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.18<sup id="cite_ref-105" class="reference"><a href="#cite_note-105"><span class="cite-bracket">[</span>105<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 June 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.12.19<sup id="cite_ref-106" class="reference"><a href="#cite_note-106"><span class="cite-bracket">[</span>106<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">25 February 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.0<sup id="cite_ref-107" class="reference"><a href="#cite_note-107"><span class="cite-bracket">[</span>107<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">11 June 2019
</td>
<td>
<ul><li>Standard collections library redesigned</li>
<li>Literal types</li>
<li>Partial type unification</li>
<li>By-name implicits</li>
<li>Compiler optimizations</li></ul>
</td></tr>
<tr>
<th scope="row">2.13.1<sup id="cite_ref-108" class="reference"><a href="#cite_note-108"><span class="cite-bracket">[</span>108<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">18 September 2019
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.2<sup id="cite_ref-109" class="reference"><a href="#cite_note-109"><span class="cite-bracket">[</span>109<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">22 April 2020
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.3<sup id="cite_ref-110" class="reference"><a href="#cite_note-110"><span class="cite-bracket">[</span>110<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">25 June 2020
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.4<sup id="cite_ref-111" class="reference"><a href="#cite_note-111"><span class="cite-bracket">[</span>111<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">19 November 2020
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.5<sup id="cite_ref-112" class="reference"><a href="#cite_note-112"><span class="cite-bracket">[</span>112<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">22 February 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.6<sup id="cite_ref-113" class="reference"><a href="#cite_note-113"><span class="cite-bracket">[</span>113<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">17 May 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.7<sup id="cite_ref-114" class="reference"><a href="#cite_note-114"><span class="cite-bracket">[</span>114<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">1 November 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.8<sup id="cite_ref-115" class="reference"><a href="#cite_note-115"><span class="cite-bracket">[</span>115<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">12 January 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.9<sup id="cite_ref-116" class="reference"><a href="#cite_note-116"><span class="cite-bracket">[</span>116<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">21 September 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.10<sup id="cite_ref-117" class="reference"><a href="#cite_note-117"><span class="cite-bracket">[</span>117<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">13 October 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.11<sup id="cite_ref-118" class="reference"><a href="#cite_note-118"><span class="cite-bracket">[</span>118<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 June 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.12<sup id="cite_ref-119" class="reference"><a href="#cite_note-119"><span class="cite-bracket">[</span>119<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">11 September 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.13<sup id="cite_ref-120" class="reference"><a href="#cite_note-120"><span class="cite-bracket">[</span>120<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">26 February 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.14<sup id="cite_ref-121" class="reference"><a href="#cite_note-121"><span class="cite-bracket">[</span>121<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">1 May 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">2.13.15<sup id="cite_ref-122" class="reference"><a href="#cite_note-122"><span class="cite-bracket">[</span>122<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">25 Sep 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.0.0<sup id="cite_ref-123" class="reference"><a href="#cite_note-123"><span class="cite-bracket">[</span>123<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">13 May 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.0.1<sup id="cite_ref-124" class="reference"><a href="#cite_note-124"><span class="cite-bracket">[</span>124<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">31 July 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.0.2<sup id="cite_ref-125" class="reference"><a href="#cite_note-125"><span class="cite-bracket">[</span>125<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 September 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.1.0<sup id="cite_ref-126" class="reference"><a href="#cite_note-126"><span class="cite-bracket">[</span>126<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">21 October 2021
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.1.1<sup id="cite_ref-127" class="reference"><a href="#cite_note-127"><span class="cite-bracket">[</span>127<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">1 February 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.1.2<sup id="cite_ref-128" class="reference"><a href="#cite_note-128"><span class="cite-bracket">[</span>128<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">12 April 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.1.3<sup id="cite_ref-129" class="reference"><a href="#cite_note-129"><span class="cite-bracket">[</span>129<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">21 June 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.2.0<sup id="cite_ref-130" class="reference"><a href="#cite_note-130"><span class="cite-bracket">[</span>130<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">5 September 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.2.1<sup id="cite_ref-131" class="reference"><a href="#cite_note-131"><span class="cite-bracket">[</span>131<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 November 2022
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.2.2<sup id="cite_ref-132" class="reference"><a href="#cite_note-132"><span class="cite-bracket">[</span>132<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">30 January 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.3.0<sup id="cite_ref-133" class="reference"><a href="#cite_note-133"><span class="cite-bracket">[</span>133<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">30 May 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.3.1<sup id="cite_ref-134" class="reference"><a href="#cite_note-134"><span class="cite-bracket">[</span>134<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">7 September 2023
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.3.2<sup id="cite_ref-135" class="reference"><a href="#cite_note-135"><span class="cite-bracket">[</span>135<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">29 February 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.3.3<sup id="cite_ref-scala-lang.org_136-0" class="reference"><a href="#cite_note-scala-lang.org-136"><span class="cite-bracket">[</span>136<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">29 February 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.4.0<sup id="cite_ref-scala-lang.org_136-1" class="reference"><a href="#cite_note-scala-lang.org-136"><span class="cite-bracket">[</span>136<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">29 February 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.4.1<sup id="cite_ref-137" class="reference"><a href="#cite_note-137"><span class="cite-bracket">[</span>137<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">29 March 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr>
<tr>
<th scope="row">3.4.2<sup id="cite_ref-Latest_138-0" class="reference"><a href="#cite_note-Latest-138"><span class="cite-bracket">[</span>138<span class="cite-bracket">]</span></a></sup>
</th>
<td style="text-align:right;">16 May 2024
</td>
<td data-sort-value="" style="vertical-align:middle; text-align:center" class="table-na">—
</td></tr></tbody></table>
<div class="mw-heading mw-heading2"><h2 id="Comparison_with_other_JVM_languages">Comparison with other JVM languages</h2></div>
<p>Scala is often compared with <a href="Groovy_(programming_language)" class="mw-redirect" title="Groovy (programming language)">Groovy</a> and <a href="Clojure" title="Clojure">Clojure</a>, two other programming languages also using the JVM. Substantial differences between these languages exist in the type system, in the extent to which each language supports object-oriented and functional programming, and in the similarity of their syntax to that of Java.
</p><p>Scala is <a href="Statically_typed" class="mw-redirect" title="Statically typed">statically typed</a>, while both Groovy and Clojure are <a href="Dynamically_typed" class="mw-redirect" title="Dynamically typed">dynamically typed</a>. This makes the type system more complex and difficult to understand but allows almost all<sup id="cite_ref-unsound_38-1" class="reference"><a href="#cite_note-unsound-38"><span class="cite-bracket">[</span>38<span class="cite-bracket">]</span></a></sup> type errors to be caught at compile-time and can result in significantly faster execution. By contrast, dynamic typing requires more testing to ensure program correctness, and thus is generally slower, to allow greater programming flexibility and simplicity. Regarding speed differences, current versions of Groovy and Clojure allow optional type annotations to help programs avoid the overhead of dynamic typing in cases where types are practically static. This overhead is further reduced when using recent versions of the JVM, which has been enhanced with an <i>invoke dynamic</i> instruction for methods that are defined with dynamically typed arguments. These advances reduce the speed gap between static and dynamic typing, although a statically typed language, like Scala, is still the preferred choice when execution efficiency is very important.
</p><p>Regarding programming paradigms, Scala inherits the object-oriented model of Java and extends it in various ways. Groovy, while also strongly object-oriented, is more focused in reducing verbosity. In Clojure, object-oriented programming is deemphasised with functional programming being the main strength of the language. Scala also has many functional programming facilities, including features found in advanced functional languages like Haskell, and tries to be agnostic between the two paradigms, letting the developer choose between the two paradigms or, more frequently, some combination thereof.
</p><p>Regarding syntax similarity with Java, Scala inherits much of Java's syntax, as is the case with Groovy. Clojure on the other hand follows the <a href="Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a> syntax, which is different in both appearance and philosophy.
</p>
<div class="mw-heading mw-heading2"><h2 id="Adoption">Adoption</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Language_rankings">Language rankings</h3></div>
<p>Back in 2013, when Scala was in version 2.10, the <a href="ThoughtWorks" class="mw-redirect" title="ThoughtWorks">ThoughtWorks</a> Technology Radar, which is an opinion based biannual report of a group of senior technologists,<sup id="cite_ref-139" class="reference"><a href="#cite_note-139"><span class="cite-bracket">[</span>139<span class="cite-bracket">]</span></a></sup> recommended Scala adoption in its languages and frameworks category.<sup id="cite_ref-140" class="reference"><a href="#cite_note-140"><span class="cite-bracket">[</span>140<span class="cite-bracket">]</span></a></sup>
</p><p>In July 2014, this assessment was made more specific and now refers to a “Scala, the good parts”, which is described as “To successfully use Scala, you need to research the language and have a very strong opinion on which parts are right for you, creating your own definition of Scala, the good parts.”.<sup id="cite_ref-tw2_141-0" class="reference"><a href="#cite_note-tw2-141"><span class="cite-bracket">[</span>141<span class="cite-bracket">]</span></a></sup>
</p><p>In the 2018 edition of the <i>State of <a href="Java_(programming_language)" title="Java (programming language)">Java</a></i> survey,<sup id="cite_ref-142" class="reference"><a href="#cite_note-142"><span class="cite-bracket">[</span>142<span class="cite-bracket">]</span></a></sup> which collected data from 5160 developers on various Java-related topics, Scala places third in terms of use of alternative languages on the <a href="JVM" class="mw-redirect" title="JVM">JVM</a>. Relative to the prior year's edition of the survey, Scala's use among alternative <a href="JVM_languages" class="mw-redirect" title="JVM languages">JVM languages</a> fell from 28.4% to 21.5%, overtaken by <a href="Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a>, which rose from 11.4% in 2017 to 28.8% in 2018.
The Popularity of Programming Language Index,<sup id="cite_ref-pypl_143-0" class="reference"><a href="#cite_note-pypl-143"><span class="cite-bracket">[</span>143<span class="cite-bracket">]</span></a></sup> which tracks searches for language tutorials, ranked Scala 15th in April 2018 with a small downward trend, and 17th in Jan 2021. This makes Scala the 3rd most popular JVM-based language after <a href="Java_(programming_language)" title="Java (programming language)">Java</a> and <a href="Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a>, ranked 12th.
</p><p>The <a rel="nofollow" class="external text" href="https://redmonk.com/sogrady/category/programming-languages/">RedMonk Programming Language</a> Rankings, which establishes rankings based on the number of <a href="GitHub" title="GitHub">GitHub</a> projects and questions asked on <a href="Stack_Overflow" title="Stack Overflow">Stack Overflow</a>, in January 2021 ranked Scala 14th.<sup id="cite_ref-redmonk2_144-0" class="reference"><a href="#cite_note-redmonk2-144"><span class="cite-bracket">[</span>144<span class="cite-bracket">]</span></a></sup> Here, Scala was placed inside a second-tier group of languages–ahead of <a href="Go_(programming_language)" title="Go (programming language)">Go</a>, <a href="PowerShell" title="PowerShell">PowerShell</a>, and Haskell, and behind <a href="Swift_(programming_language)" title="Swift (programming language)">Swift</a>, <a href="Objective-C" title="Objective-C">Objective-C</a>, <a href="Microsoft_TypeScript" class="mw-redirect" title="Microsoft TypeScript">Typescript</a>, and <a href="R_(programming_language)" title="R (programming language)">R</a>.
</p><p>The <a href="TIOBE_index" title="TIOBE index">TIOBE index</a><sup id="cite_ref-tiobe1_145-0" class="reference"><a href="#cite_note-tiobe1-145"><span class="cite-bracket">[</span>145<span class="cite-bracket">]</span></a></sup> of programming language popularity employs internet search engine rankings and similar publication counting to determine language popularity. In September 2021, it showed Scala in 31st place. In this ranking, Scala was ahead of Haskell (38th) and <a href="Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a>, but below <a href="Go_(programming_language)" title="Go (programming language)">Go</a> (14th), <a href="Swift_(programming_language)" title="Swift (programming language)">Swift</a> (15th), and <a href="Perl" title="Perl">Perl</a> (19th).
</p><p>As of 2022, JVM-based languages such as Clojure, Groovy, and Scala are highly ranked, but still significantly less popular than the original <a href="Java_(programming_language)" title="Java (programming language)">Java</a> language, which is usually ranked in the top three places.<sup id="cite_ref-redmonk2_144-1" class="reference"><a href="#cite_note-redmonk2-144"><span class="cite-bracket">[</span>144<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-tiobe1_145-1" class="reference"><a href="#cite_note-tiobe1-145"><span class="cite-bracket">[</span>145<span class="cite-bracket">]</span></a></sup>
</p>
<div style="clear:both;" class=""></div>
<div class="mw-heading mw-heading3"><h3 id="Companies">Companies</h3></div>
<ul><li>In April 2009, <a href="Twitter" title="Twitter">Twitter</a> announced that it had switched large portions of its backend from <a href="Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a> to Scala and intended to convert the rest.<sup id="cite_ref-146" class="reference"><a href="#cite_note-146"><span class="cite-bracket">[</span>146<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Tesla%2C_Inc." title="Tesla, Inc.">Tesla, Inc.</a> uses <a href="Akka_(toolkit)" title="Akka (toolkit)">Akka</a> with Scala in the backend of the Tesla Virtual Power Plant. Thereby, the <a href="Actor_model" title="Actor model">Actor model</a> is used for representing and operating devices that together with other components make up an instance of the virtual power plant, and <a href="Reactive_Streams" title="Reactive Streams">Reactive Streams</a> are used for data collection and data processing.<sup id="cite_ref-147" class="reference"><a href="#cite_note-147"><span class="cite-bracket">[</span>147<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Apache_Kafka" title="Apache Kafka">Apache Kafka</a> is implemented in Scala with regards to most of its core and other critical parts. It is maintained and extended through the open source project and by the company Confluent.<sup id="cite_ref-148" class="reference"><a href="#cite_note-148"><span class="cite-bracket">[</span>148<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Gilt_Groupe" title="Gilt Groupe">Gilt</a> uses Scala and <a href="Play_Framework" title="Play Framework">Play Framework</a>.<sup id="cite_ref-149" class="reference"><a href="#cite_note-149"><span class="cite-bracket">[</span>149<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Foursquare_(service)" class="mw-redirect" title="Foursquare (service)">Foursquare</a> uses Scala and <a href="Lift_(web_framework)" title="Lift (web framework)">Lift</a>.<sup id="cite_ref-150" class="reference"><a href="#cite_note-150"><span class="cite-bracket">[</span>150<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Coursera" title="Coursera">Coursera</a> uses Scala and <a href="Play_Framework" title="Play Framework">Play Framework</a>.<sup id="cite_ref-151" class="reference"><a href="#cite_note-151"><span class="cite-bracket">[</span>151<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Apple_Inc." title="Apple Inc.">Apple Inc.</a> uses Scala in certain teams, along with Java and the Play framework.<sup id="cite_ref-152" class="reference"><a href="#cite_note-152"><span class="cite-bracket">[</span>152<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-153" class="reference"><a href="#cite_note-153"><span class="cite-bracket">[</span>153<span class="cite-bracket">]</span></a></sup></li>
<li><i><a href="The_Guardian" title="The Guardian">The Guardian</a></i> newspaper's high-traffic website <a href="Guardian.co.uk" class="mw-redirect" title="Guardian.co.uk">guardian.co.uk</a><sup id="cite_ref-154" class="reference"><a href="#cite_note-154"><span class="cite-bracket">[</span>154<span class="cite-bracket">]</span></a></sup> announced in April 2011 that it was switching from Java to Scala.<sup id="cite_ref-155" class="reference"><a href="#cite_note-155"><span class="cite-bracket">[</span>155<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-156" class="reference"><a href="#cite_note-156"><span class="cite-bracket">[</span>156<span class="cite-bracket">]</span></a></sup></li>
<li><i><a href="The_New_York_Times" title="The New York Times">The New York Times</a></i> revealed in 2014 that its internal content management system <i>Blackbeard</i> is built using Scala, <a href="Akka_(toolkit)" title="Akka (toolkit)">Akka</a>, and Play.<sup id="cite_ref-157" class="reference"><a href="#cite_note-157"><span class="cite-bracket">[</span>157<span class="cite-bracket">]</span></a></sup></li>
<li>The <i><a href="Huffington_Post" class="mw-redirect" title="Huffington Post">Huffington Post</a></i> newspaper started to employ Scala as part of its content delivery system <i>Athena</i> in 2013.<sup id="cite_ref-158" class="reference"><a href="#cite_note-158"><span class="cite-bracket">[</span>158<span class="cite-bracket">]</span></a></sup></li>
<li>Swiss bank <a href="UBS" title="UBS">UBS</a> approved Scala for general production use.<sup id="cite_ref-159" class="reference"><a href="#cite_note-159"><span class="cite-bracket">[</span>159<span class="cite-bracket">]</span></a></sup></li>
<li><a href="LinkedIn" title="LinkedIn">LinkedIn</a> uses the <a href="Scalatra" title="Scalatra">Scalatra</a> <a href="Microframework" title="Microframework">microframework</a> to power its Signal API.<sup id="cite_ref-160" class="reference"><a href="#cite_note-160"><span class="cite-bracket">[</span>160<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Meetup" title="Meetup">Meetup</a> uses Unfiltered toolkit for real-time APIs.<sup id="cite_ref-161" class="reference"><a href="#cite_note-161"><span class="cite-bracket">[</span>161<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Remember_the_Milk" title="Remember the Milk">Remember the Milk</a> uses Unfiltered toolkit, Scala and Akka for public API and real-time updates.<sup id="cite_ref-162" class="reference"><a href="#cite_note-162"><span class="cite-bracket">[</span>162<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Verizon" title="Verizon">Verizon</a> seeking to make "a next-generation framework" using Scala.<sup id="cite_ref-163" class="reference"><a href="#cite_note-163"><span class="cite-bracket">[</span>163<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Airbnb" title="Airbnb">Airbnb</a> develops open-source machine-learning software "Aerosolve", written in Java and Scala.<sup id="cite_ref-164" class="reference"><a href="#cite_note-164"><span class="cite-bracket">[</span>164<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Zalando" title="Zalando">Zalando</a> moved its technology stack from Java to Scala and Play.<sup id="cite_ref-165" class="reference"><a href="#cite_note-165"><span class="cite-bracket">[</span>165<span class="cite-bracket">]</span></a></sup></li>
<li><a href="SoundCloud" title="SoundCloud">SoundCloud</a> uses Scala for its back-end, employing technologies such as Finagle (micro services),<sup id="cite_ref-166" class="reference"><a href="#cite_note-166"><span class="cite-bracket">[</span>166<span class="cite-bracket">]</span></a></sup> Scalding and Spark (data processing).<sup id="cite_ref-167" class="reference"><a href="#cite_note-167"><span class="cite-bracket">[</span>167<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Databricks" title="Databricks">Databricks</a> uses Scala for the <a href="Apache_Spark" title="Apache Spark">Apache Spark</a> Big Data platform.</li>
<li><a href="Morgan_Stanley" title="Morgan Stanley">Morgan Stanley</a> uses Scala extensively in their finance and asset-related projects.<sup id="cite_ref-168" class="reference"><a href="#cite_note-168"><span class="cite-bracket">[</span>168<span class="cite-bracket">]</span></a></sup></li>
<li>There are teams within <a href="Google" title="Google">Google</a> and <a href="Alphabet_Inc." title="Alphabet Inc.">Alphabet Inc.</a> that use Scala, mostly due to acquisitions such as <a href="Firebase" title="Firebase">Firebase</a><sup id="cite_ref-169" class="reference"><a href="#cite_note-169"><span class="cite-bracket">[</span>169<span class="cite-bracket">]</span></a></sup> and Nest.<sup id="cite_ref-170" class="reference"><a href="#cite_note-170"><span class="cite-bracket">[</span>170<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Walmart_Canada" title="Walmart Canada">Walmart Canada</a> uses Scala for their back-end platform.<sup id="cite_ref-171" class="reference"><a href="#cite_note-171"><span class="cite-bracket">[</span>171<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Duolingo" title="Duolingo">Duolingo</a> uses Scala for their back-end module that generates lessons.<sup id="cite_ref-172" class="reference"><a href="#cite_note-172"><span class="cite-bracket">[</span>172<span class="cite-bracket">]</span></a></sup></li>
<li><a href="HMRC" class="mw-redirect" title="HMRC">HMRC</a> uses Scala for many UK Government tax applications.<sup id="cite_ref-173" class="reference"><a href="#cite_note-173"><span class="cite-bracket">[</span>173<span class="cite-bracket">]</span></a></sup></li>
<li><a href="M1_Finance" title="M1 Finance">M1 Finance</a> uses Scala for their back-end platform.<sup id="cite_ref-174" class="reference"><a href="#cite_note-174"><span class="cite-bracket">[</span>174<span class="cite-bracket">]</span></a></sup></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Criticism">Criticism</h2></div>
<p>In November 2011, <a href="Yammer" class="mw-redirect" title="Yammer">Yammer</a> moved away from Scala for reasons that included the learning curve for new team members and incompatibility from one version of the Scala compiler to the next.<sup id="cite_ref-175" class="reference"><a href="#cite_note-175"><span class="cite-bracket">[</span>175<span class="cite-bracket">]</span></a></sup> In March 2015, former VP of the Platform Engineering group at <a href="Twitter" title="Twitter">Twitter</a> <a href="Raffi_Krikorian" title="Raffi Krikorian">Raffi Krikorian</a>, stated that he would not have chosen Scala in 2011 due to its <a href="Learning_curve" title="Learning curve">learning curve</a>.<sup id="cite_ref-176" class="reference"><a href="#cite_note-176"><span class="cite-bracket">[</span>176<span class="cite-bracket">]</span></a></sup> The same month, <a href="LinkedIn" title="LinkedIn">LinkedIn</a> SVP <a href="Kevin_Scott_(computer_scientist)" title="Kevin Scott (computer scientist)">Kevin Scott</a> stated their decision to "minimize [their] dependence on Scala".<sup id="cite_ref-177" class="reference"><a href="#cite_note-177"><span class="cite-bracket">[</span>177<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1266661725">
/* start https://en.wikipedia.org/ */


.mw-parser-output .portalbox{padding:0;margin:0.5em 0;display:table;box-sizing:border-box;max-width:175px;list-style:none}.mw-parser-output .portalborder{border:1px solid var(--border-color-base,#a2a9b1);padding:0.1em;background:var(--background-color-neutral-subtle,#f8f9fa)}.mw-parser-output .portalbox-entry{display:table-row;font-size:85%;line-height:110%;height:1.9em;font-style:italic;font-weight:bold}.mw-parser-output .portalbox-image{display:table-cell;padding:0.2em;vertical-align:middle;text-align:center}.mw-parser-output .portalbox-link{display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle}@media(min-width:720px){.mw-parser-output .portalleft{margin:0.5em 1em 0.5em 0}.mw-parser-output .portalright{clear:right;float:right;margin:0.5em 0 0.5em 1em}}


/* end https://en.wikipedia.org/ */
</style>
<ul><li><a href="Sbt" class="mw-redirect" title="Sbt">sbt</a>, a widely used build tool for Scala projects</li>
<li><a href="Apache_Spark" title="Apache Spark">Spark</a> Framework is designed to handle, and process big-data and it solely supports Scala</li>
<li><a href="Neo4j" title="Neo4j">Neo4j</a> is a java spring framework supported by Scala with domain-specific functionality, analytical capabilities, graph algorithms, and many more</li>
<li><a href="Play_Framework" title="Play Framework">Play!</a>, an open-source Web application framework that supports Scala</li>
<li><a href="Akka_(toolkit)" title="Akka (toolkit)">Akka</a>, an open-source toolkit for building concurrent and distributed applications</li>
<li><a href="Chisel_(programming_language)" title="Chisel (programming language)">Chisel</a>, an open-source language built on Scala that is used for hardware design and generation.<sup id="cite_ref-178" class="reference"><a href="#cite_note-178"><span class="cite-bracket">[</span>178<span class="cite-bracket">]</span></a></sup></li></ul>

<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */


.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}


/* end https://en.wikipedia.org/ */
</style><div class="reflist reflist-columns references-column-width" style="column-width: 30em;">
<ol class="references">
<li id="cite_note-wikidata-727b6dee3f4e54ac7cbc00f60f3f1f04fe9224c5-v20-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-wikidata-727b6dee3f4e54ac7cbc00f60f3f1f04fe9224c5-v20_1-0">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/scala/scala3/releases/tag/3.7.1">"Release 3.7.1"</a>. 4 June 2025.</cite></span>
</li>
<li id="cite_note-license-github-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-license-github_2-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/scala/scala/blob/2.13.x/NOTICE">"Notice file"</a>. <i><a href="GitHub" title="GitHub">GitHub</a></i>. 2019-01-24<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-12-04</span></span>.</cite></span>
</li>
<li id="cite_note-Scala_Macros-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-Scala_Macros_3-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://scalamacros.org">"Scala Macros"</a>.</cite></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite id="CITEREFFogus2010" class="citation web cs1">Fogus, Michael (6 August 2010). <a rel="nofollow" class="external text" href="http://blog.fogus.me/2010/08/06/martinodersky-take5-tolist/">"MartinOdersky take(5) toList"</a>. <i>Send More Paramedics</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2012-02-09</span></span>.</cite></span>
</li>
<li id="cite_note-popl06-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-popl06_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-popl06_5-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-popl06_5-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-popl06_5-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFOdersky2006" class="citation web cs1">Odersky, Martin (11 January 2006). <a rel="nofollow" class="external text" href="https://lampwww.epfl.ch/~odersky/talks/popl06.pdf">"The Scala Experiment - Can We Provide Better Language Support for Component Systems?"</a> <span class="cs1-format">(PDF)</span><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-06-22</span></span>.</cite></span>
</li>
<li id="cite_note-overview-6"><span class="mw-cite-backlink">^ <a href="#cite_ref-overview_6-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-overview_6-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-overview_6-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-overview_6-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFOdersky2006" class="citation web cs1">Odersky, Martin; et&nbsp;al. (2006). <a rel="nofollow" class="external text" href="https://www.scala-lang.org/docu/files/ScalaOverview.pdf">"An Overview of the Scala Programming Language"</a> <span class="cs1-format">(PDF)</span> (2nd&nbsp;ed.). École Polytechnique Fédérale de Lausanne (EPFL). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20200709211816/https://www.scala-lang.org/docu/files/ScalaOverview.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2020-07-09.</cite></span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><cite id="CITEREFOdersky2008" class="citation book cs1">Odersky, Martin (2008). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=MFjNhTjeQKkC&amp;q=scala%20is%20pronounced%20skah-lah&amp;pg=PA3"><i>Programming in Scala</i></a>. Mountain View, California: Artima. p.&nbsp;3. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>9780981531601</bdi><span class="reference-accessdate">. Retrieved <span class="nowrap">12 June</span> 2014</span>.</cite></span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite id="CITEREFWamplerPayne2009" class="citation book cs1">Wampler, Dean; Payne, Alex (15 September 2009). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=mincYfsQleMC&amp;dq=scala+pronunciation&amp;pg=PA7"><i>Programming Scala: Scalability = Functional Programming + Objects</i></a>. O'Reilly Media, Inc. p.&nbsp;7. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-1-4493-7926-1</bdi><span class="reference-accessdate">. Retrieved <span class="nowrap">13 May</span> 2024</span>. <q>The creators of Scala actually pronounce it <i>scah-lah</i>, like the Italian word for "stairs." The two "a"s are pronounced the same.</q></cite></span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite id="CITEREFPotvinBonja2015" class="citation book cs1">Potvin, Pascal; Bonja, Mario (24 September 2015). <i>SDL 2013: Model-Driven Dependability Engineering</i>. Lecture Notes in Computer Science. Vol.&nbsp;7916. <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1509.07326">1509.07326</a></span>. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-3-642-38911-5">10.1007/978-3-642-38911-5</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-3-642-38910-8</bdi>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&nbsp;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:1214469">1214469</a>.</cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/old/faq/4">"Frequently Asked Questions: Java Interoperability"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2015-02-06</span></span>.</cite></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite class="citation audio-visual cs1">Martin Odersky (17 June 2020). <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=Z0w_pITUTyU"><i>Martin Odersky: A Scala 3 Update</i></a> (video). YouTube. Event occurs at 36:35–45:08. <a rel="nofollow" class="external text" href="https://ghostarchive.org/varchive/youtube/20211221/Z0w_pITUTyU">Archived</a> from the original on 2021-12-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-04-24</span></span>.</cite></span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.scala-lang.org/scala3/reference/experimental/canthrow.html">"Effect expt"</a>. <i>scala</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2022-07-31</span></span>.</cite></span>
</li>
<li id="cite_note-StepsInScala-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-StepsInScala_13-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFLoverdo2010" class="citation book cs1">Loverdo, Christos (2010). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=vZAfN_Vk2i0C&amp;q=%22steps+in+scala%22&amp;pg=PR13"><i>Steps in Scala: An Introduction to Object-Functional Programming</i></a>. <a href="Cambridge_University_Press" title="Cambridge University Press">Cambridge University Press</a>. p.&nbsp;xiii. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>9781139490948</bdi><span class="reference-accessdate">. Retrieved <span class="nowrap">31 July</span> 2014</span>.</cite></span>
</li>
<li id="cite_note-history-of-scala-14"><span class="mw-cite-backlink">^ <a href="#cite_ref-history-of-scala_14-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-history-of-scala_14-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-history-of-scala_14-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-history-of-scala_14-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFOdersky2006" class="citation web cs1">Odersky, Martin (9 June 2006). <a rel="nofollow" class="external text" href="https://www.artima.com/weblogs/viewpost.jsp?thread=163733">"A Brief History of Scala"</a>. <i>Artima.com</i>.</cite></span>
</li>
<li id="cite_note-cacm-15"><span class="mw-cite-backlink">^ <a href="#cite_ref-cacm_15-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-cacm_15-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-cacm_15-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-cacm_15-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFOderskyRompf2014" class="citation journal cs1">Odersky, M.; Rompf, T. (2014). <a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F2591013">"Unifying functional and object-oriented programming with Scala"</a>. <i>Communications of the ACM</i>. <b>57</b> (4): 76. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F2591013">10.1145/2591013</a></span>.</cite></span>
</li>
<li id="cite_note-spec-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-spec_16-0">^</a></b></span> <span class="reference-text">Martin Odersky, "The Scala Language Specification Version 2.7"</span>
</li>
<li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/node/8579">"Scala Team Wins ERC Grant"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/node/9484">"Commercial Support for Scala"</a>. 2011-05-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-08-18</span></span>.</cite></span>
</li>
<li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://medium.com/@greylockvc/why-we-invested-in-typesafe-modern-applications-demand-modern-tools-b6f7deec8b89">"Why We Invested in Typesafe: Modern Applications Demand Modern Tools"</a>. 2011-05-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-05-08</span></span>.</cite></span>
</li>
<li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://news.cnet.com/8301-13846_3-20062090-62.html">"Open-source Scala gains commercial backing"</a>. 2011-05-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-10-09</span></span>.</cite></span>
</li>
<li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.mercurynews.com/business/ci_18048434">"Cloud computing pioneer Martin Odersky takes wraps off his new company Typesafe"</a>. 2011-05-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-08-24</span></span>.</cite></span>
</li>
<li id="cite_note-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-22">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20160620223823/http://scala-android.org/">"Scala on Android"</a>. Archived from <a rel="nofollow" class="external text" href="https://scala-android.org/">the original</a> on 20 June 2016<span class="reference-accessdate">. Retrieved <span class="nowrap">8 June</span> 2016</span>.</cite></span>
</li>
<li id="cite_note-Scala_2.12.8_is_now_available!-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-Scala_2.12.8_is_now_available!_23-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.8">"Scala 2.12.8 is now available!"</a>. 2018-12-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-12-09</span></span>.</cite></span>
</li>
<li id="cite_note-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-24">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2015/02/05/scala-js-no-longer-experimental.html">"Scala Js Is No Longer Experimental | The Scala Programming Language"</a>. Scala-lang.org. 5 February 2015<span class="reference-accessdate">. Retrieved <span class="nowrap">28 October</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/scala-js/scala-js/releases">"Releases · scala-js/Scala-js"</a>. <i><a href="GitHub" title="GitHub">GitHub</a></i>.</cite></span>
</li>
<li id="cite_note-26"><span class="mw-cite-backlink"><b><a href="#cite_ref-26">^</a></b></span> <span class="reference-text"><cite id="CITEREFKrill2017" class="citation news cs1">Krill, Paul (15 March 2017). <a rel="nofollow" class="external text" href="https://www.infoworld.com/article/3180823/application-development/scaled-down-scala-variant-cuts-ties-to-the-jvm.html">"Scaled-down Scala variant cuts ties to the JVM"</a>. <i><a href="InfoWorld" title="InfoWorld">InfoWorld</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">21 March</span> 2017</span>.</cite></span>
</li>
<li id="cite_note-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-27">^</a></b></span> <span class="reference-text"><cite id="CITEREFKrill2016" class="citation news cs1">Krill, Paul (2016-05-11). <a rel="nofollow" class="external text" href="https://www.infoworld.com/article/3068669/application-development/scala-language-moves-closer-to-bare-metal.html">"Scala language moves closer to bare metal"</a>. <i><a href="InfoWorld" title="InfoWorld">InfoWorld</a></i>.</cite></span>
</li>
<li id="cite_note-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-28">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://github.com/scala/scala/pull/1718">Expunged the .net backend. by paulp · Pull Request #1718 · scala/scala · GitHub</a>. Github.com (2012-12-05). Retrieved on 2013-11-02.</span>
</li>
<li id="cite_note-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-29">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/old/node/166">"Getting Started with Scala"</a>. <i>Scala-lang.org</i>. 15 July 2008<span class="reference-accessdate">. Retrieved <span class="nowrap">31 July</span> 2014</span>.</cite></span>
</li>
<li id="cite_note-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-30">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20100831041226/http://blog.lostlake.org/index.php?%2Farchives%2F73-For-all-you-know%2C-its-just-another-Java-library.html">"Home"</a>. Blog.lostlake.org. Archived from <a rel="nofollow" class="external text" href="http://blog.lostlake.org/index.php?/archives/73-For-all-you-know,-its-just-another-Java-library.html">the original</a> on 31 August 2010<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-06-25</span></span>.</cite></span>
</li>
<li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text">Scala's built-in control structures such as <code>if</code> or <code>while</code> cannot be re-implemented. There is a research project, Scala-Virtualized, that aimed at removing these restrictions: Adriaan Moors, Tiark Rompf, Philipp Haller and Martin Odersky. <a rel="nofollow" class="external text" href="https://dl.acm.org/citation.cfm?id=2103769">Scala-Virtualized</a>. <i>Proceedings of the ACM SIGPLAN 2012 workshop on Partial evaluation and program manipulation</i>, 117–120. July 2012.</span>
</li>
<li id="cite_note-artima1-32"><span class="mw-cite-backlink">^ <a href="#cite_ref-artima1_32-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-artima1_32-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.artima.com/weblogs/viewpost.jsp?thread=179766">"Pimp my Library"</a>. Artima.com. 2006-10-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-06-25</span></span>.</cite></span>
</li>
<li id="cite_note-33"><span class="mw-cite-backlink"><b><a href="#cite_ref-33">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://scala-lang.org/files/archive/spec/2.13/06-expressions.html">"Expressions | Scala 2.13"</a>. <i>scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2021-05-24</span></span>.</cite></span>
</li>
<li id="cite_note-34"><span class="mw-cite-backlink"><b><a href="#cite_ref-34">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/collections/overview.html">"Mutable and Immutable Collections - Scala Documentation"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2020</span>.</cite></span>
</li>
<li id="cite_note-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-35">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/collections/concrete-immutable-collection-classes.html">"Collections - Concrete Immutable Collection Classes - Scala Documentation"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-36">^</a></b></span> <span class="reference-text"><cite id="CITEREFDougherty" class="citation web cs1">Dougherty, Rich. <a rel="nofollow" class="external text" href="http://blog.richdougherty.com/2009/04/tail-calls-tailrec-and-trampolines.html">"Rich Dougherty's blog"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-37">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/api/current/scala/util/control/TailCalls$.html">"TailCalls - Scala Standard Library API (Scaladoc) 2.10.2 - scala.util.control.TailCalls"</a>. Scala-lang.org<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-06-25</span></span>.</cite></span>
</li>
<li id="cite_note-unsound-38"><span class="mw-cite-backlink">^ <a href="#cite_ref-unsound_38-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-unsound_38-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://raw.githubusercontent.com/namin/unsound/master/doc/unsound-oopsla16.pdf">"Java and Scala's Type Systems are Unsound"</a> <span class="cs1-format">(PDF)</span>.</cite></span>
</li>
<li id="cite_note-39"><span class="mw-cite-backlink"><b><a href="#cite_ref-39">^</a></b></span> <span class="reference-text"><cite id="CITEREFGiarrusso2013" class="citation conference cs1">Giarrusso, Paolo G. (2013). "Reify your collection queries for modularity and speed!". <i>Proceedings of the 12th annual international conference on Aspect-oriented software development</i>. ACM. <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1210.6284">1210.6284</a></span>. <a href="Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/2012arXiv1210.6284G">2012arXiv1210.6284G</a>. <q>Also known as pimp-my-library pattern</q></cite></span>
</li>
<li id="cite_note-40"><span class="mw-cite-backlink"><b><a href="#cite_ref-40">^</a></b></span> <span class="reference-text"><cite id="CITEREFGilbert2011" class="citation web cs1">Gilbert, Clint (2011-11-15). <a rel="nofollow" class="external text" href="https://www.scala-lang.org/old/node/11504%3Fpage=3.html#comment-51270">"What is highest priority for Scala to succeed in corporate world (Should be in scala-debate?)&nbsp;?"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2019-05-08</span></span>.</cite></span>
</li>
<li id="cite_note-41"><span class="mw-cite-backlink"><b><a href="#cite_ref-41">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://meta.stackexchange.com/questions/184514/should-we-enrich-or-pimp-scala-libraries">"Should we "enrich" or "pimp" Scala libraries?"</a>. <i>stackexchange.com</i>. 17 June 2013<span class="reference-accessdate">. Retrieved <span class="nowrap">15 April</span> 2016</span>.</cite></span>
</li>
<li id="cite_note-42"><span class="mw-cite-backlink"><b><a href="#cite_ref-42">^</a></b></span> <span class="reference-text">Implicit classes were introduced in Scala 2.10 to make method extensions more concise. This is equivalent to adding a method <code>implicit def IntPredicate(i: Int) = new IntPredicate(i)</code>. The class can also be defined as <code>implicit class IntPredicates(val i: Int) extends AnyVal { ... }</code>, producing a so-called <i>value class</i>, also introduced in Scala 2.10. The compiler will then eliminate actual instantiations and generate static methods instead, allowing extension methods to have virtually no performance overhead.</span>
</li>
<li id="cite_note-AkkaAbout-43"><span class="mw-cite-backlink"><b><a href="#cite_ref-AkkaAbout_43-0">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://doc.akka.io/docs/akka/snapshot/intro/what-is-akka.html">What is Akka?</a>, Akka online documentation</span>
</li>
<li id="cite_note-CSO-44"><span class="mw-cite-backlink"><b><a href="#cite_ref-CSO_44-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFSufrin2008" class="citation book cs1">Sufrin, Bernard (2008). "Communicating Scala Objects". In Welch, P. H.; Stepney, S.; Polack, F.A.C.; Barnes, F. R. M.; McEwan, A.A.; Stiles, G.S.; Broenink, J. F.; Sampson, A. T. (eds.). <a rel="nofollow" class="external text" href="http://users.comlab.ox.ac.uk/bernard.sufrin/CSO/cpa2008-cso.pdf"><i>Communicating Process Architectures 2008: WoTUG-31</i></a> <span class="cs1-format">(PDF)</span>. IOS Press. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-1586039073</bdi>.</cite></span>
</li>
<li id="cite_note-45"><span class="mw-cite-backlink"><b><a href="#cite_ref-45">^</a></b></span> <span class="reference-text"><cite id="CITEREFYan" class="citation web cs1">Yan, Kay. <a rel="nofollow" class="external text" href="http://www.scala-tour.com/#/using-actor">"Scala Tour"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-46"><span class="mw-cite-backlink"><b><a href="#cite_ref-46">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/parallel-collections/overview.html">"Parallelcollections - Overview - Scala Documentation"</a>. Docs.scala-lang.org<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-06-25</span></span>.</cite></span>
</li>
<li id="cite_note-47"><span class="mw-cite-backlink"><b><a href="#cite_ref-47">^</a></b></span> <span class="reference-text"><cite id="CITEREFYan" class="citation web cs1">Yan, Kay. <a rel="nofollow" class="external text" href="http://www.scala-tour.com/#/parallel-collection">"Scala Tour"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-48"><span class="mw-cite-backlink"><b><a href="#cite_ref-48">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://www.amazon.com/Learning-Concurrent-Programming-Aleksandar-Prokopec/dp/1783281413/">Learning Concurrent Programming in Scala</a>, Aleksandar Prokopec, Packt Publishing</span>
</li>
<li id="cite_note-49"><span class="mw-cite-backlink"><b><a href="#cite_ref-49">^</a></b></span> <span class="reference-text"><cite id="CITEREFKops2013" class="citation web cs1">Kops, Micha (2013-01-13). <a rel="nofollow" class="external text" href="https://www.hascode.com/2013/01/a-short-introduction-to-scalatest/">"A short Introduction to ScalaTest"</a>. <i>hascode.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-50"><span class="mw-cite-backlink"><b><a href="#cite_ref-50">^</a></b></span> <span class="reference-text"><cite id="CITEREFNilsson2008" class="citation web cs1">Nilsson, Rickard (2008-11-17). <a rel="nofollow" class="external text" href="https://www.scala-lang.org/old/node/352.html">"ScalaCheck 1.5"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-51"><span class="mw-cite-backlink"><b><a href="#cite_ref-51">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://workwithplay.com/blog/2013/05/22/testing-with-spec2/">"Build web applications using Scala and the Play Framework"</a>. <i>workwithplay.com</i>. 2013-05-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-52"><span class="mw-cite-backlink"><b><a href="#cite_ref-52">^</a></b></span> <span class="reference-text"><cite id="CITEREFButcher2012" class="citation web cs1">Butcher, Paul (2012-06-04). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108064050/http://paulbutcher.com/2012/06/04/scalamock-3-0-preview-release/">"ScalaMock 3.0 Preview Release"</a>. <i>paulbutcher.com</i>. Archived from <a rel="nofollow" class="external text" href="https://paulbutcher.com/2012/06/04/scalamock-3-0-preview-release/">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-change_history-53"><span class="mw-cite-backlink">^ <a href="#cite_ref-change_history_53-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-change_history_53-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-change_history_53-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-change_history_53-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-change_history_53-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-change_history_53-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-change_history_53-6"><sup><i><b>g</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20071009004609/https://www.scala-lang.org/downloads/history.html">"Scala Change History"</a>. <i>Scala-lang.org</i>. Archived from <a rel="nofollow" class="external text" href="https://www.scala-lang.org/downloads/history.html">the original</a> on 2007-10-09.</cite></span>
</li>
<li id="cite_note-54"><span class="mw-cite-backlink"><b><a href="#cite_ref-54">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://dotty.epfl.ch/0.23.0-RC1/docs/reference/dropped-features/xml.html">"Dropped: XML Literals"</a>. <i>dotty.epfl.ch</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2021-03-05</span></span>.</cite></span>
</li>
<li id="cite_note-55"><span class="mw-cite-backlink"><b><a href="#cite_ref-55">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#changes-in-version-20-12-mar-2006--20-">"Changes in Version 2.0 (12-Mar-2006)"</a>. <i>Scala-lang.org</i>. 2006-03-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-56"><span class="mw-cite-backlink"><b><a href="#cite_ref-56">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.1.8">"Changes in Version 2.1.8 (23-Aug-2006)"</a>. <i>Scala-lang.org</i>. 2006-08-23<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-57"><span class="mw-cite-backlink"><b><a href="#cite_ref-57">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.3.0">"Changes in Version 2.3.0 (23-Nov-2006)"</a>. <i>Scala-lang.org</i>. 2006-11-23<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-58"><span class="mw-cite-backlink"><b><a href="#cite_ref-58">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.4.0">"Changes in Version 2.4.0 (09-Mar-2007)"</a>. <i>Scala-lang.org</i>. 2007-03-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-59"><span class="mw-cite-backlink"><b><a href="#cite_ref-59">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.5.0">"Changes in Version 2.5 (02-May-2007)"</a>. <i>Scala-lang.org</i>. 2007-05-02<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-60"><span class="mw-cite-backlink"><b><a href="#cite_ref-60">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.6.0">"Changes in Version 2.6 (27-Jul-2007)"</a>. <i>Scala-lang.org</i>. 2007-06-27<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-61"><span class="mw-cite-backlink"><b><a href="#cite_ref-61">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.7.0">"Changes in Version 2.7.0 (07-Feb-2008)"</a>. <i>Scala-lang.org</i>. 2008-02-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-62"><span class="mw-cite-backlink"><b><a href="#cite_ref-62">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.8.0">"Changes in Version 2.8.0 (14-Jul-2010)"</a>. <i>Scala-lang.org</i>. 2010-07-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-63"><span class="mw-cite-backlink"><b><a href="#cite_ref-63">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#2.9.0">"Changes in Version 2.9.0 (12-May-2011)"</a>. <i>Scala-lang.org</i>. 2011-05-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-64"><span class="mw-cite-backlink"><b><a href="#cite_ref-64">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/download/changelog.html#changes_in_version_2100">"Changes in Version 2.10.0"</a>. <i>Scala-lang.org</i>. 2013-01-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-65"><span class="mw-cite-backlink"><b><a href="#cite_ref-65">^</a></b></span> <span class="reference-text"><cite id="CITEREFHarrah" class="citation web cs1">Harrah, Mark. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/core/value-classes.html">"Value Classes and Universal Traits"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-66"><span class="mw-cite-backlink"><b><a href="#cite_ref-66">^</a></b></span> <span class="reference-text"><cite id="CITEREFSuereth" class="citation web cs1">Suereth, Josh. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108075739/http://docs.scala-lang.org/sips/completed/implicit-classes.html">"SIP-13 - Implicit classes"</a>. <i>Scala-lang.org</i>. Archived from <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/sips/completed/implicit-classes.html">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-67"><span class="mw-cite-backlink"><b><a href="#cite_ref-67">^</a></b></span> <span class="reference-text"><cite id="CITEREFSuereth" class="citation web cs1">Suereth, Josh. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/core/string-interpolation.html">"String Interpolation"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-68"><span class="mw-cite-backlink"><b><a href="#cite_ref-68">^</a></b></span> <span class="reference-text"><cite id="CITEREFHallerProkopec" class="citation web cs1">Haller, Philipp; Prokopec, Aleksandar. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/core/futures.html">"Futures and Promises"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-69"><span class="mw-cite-backlink"><b><a href="#cite_ref-69">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108080051/http://docs.scala-lang.org/sips/completed/type-dynamic.html">"SIP-17 - Type Dynamic"</a>. <i>Scala-lang.org</i>. Archived from <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/sips/completed/type-dynamic.html">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-70"><span class="mw-cite-backlink"><b><a href="#cite_ref-70">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108075841/http://docs.scala-lang.org/sips/completed/modularizing-language-features.html">"SIP-18 - Modularizing Language Features"</a>. <i>Scala-lang.org</i>. Archived from <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/sips/completed/modularizing-language-features.html">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-71"><span class="mw-cite-backlink"><b><a href="#cite_ref-71">^</a></b></span> <span class="reference-text"><cite id="CITEREFProkopecMiller" class="citation web cs1">Prokopec, Aleksandar; Miller, Heather. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/parallel-collections/overview.html">"Parallel Collections"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-72"><span class="mw-cite-backlink"><b><a href="#cite_ref-72">^</a></b></span> <span class="reference-text"><cite id="CITEREFMillerBurmako" class="citation web cs1">Miller, Heather; Burmako, Eugene. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/reflection/overview.html">"Reflection Overview"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-73"><span class="mw-cite-backlink"><b><a href="#cite_ref-73">^</a></b></span> <span class="reference-text"><cite id="CITEREFBurmako" class="citation web cs1">Burmako, Eugene. <a rel="nofollow" class="external text" href="https://docs.scala-lang.org/overviews/macros/overview.html">"Def Macros"</a>. <i>Scala-lang.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-74"><span class="mw-cite-backlink"><b><a href="#cite_ref-74">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108081141/http://www.scala-lang.org/news/2013/06/06/release-notes-v2.10.2.html">"Scala 2.10.2 is now available!"</a>. <i>Scala-lang.org</i>. 2013-06-06. Archived from <a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2013/06/06/release-notes-v2.10.2.html">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-75"><span class="mw-cite-backlink"><b><a href="#cite_ref-75">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20141108081200/http://www.scala-lang.org/news/2013/10/01/release-notes-v2.10.3.html">"Scala 2.10.3 is now available!"</a>. <i>Scala-lang.org</i>. 2013-10-01. Archived from <a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2013/10/01/release-notes-v2.10.3.html">the original</a> on 2014-11-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-76"><span class="mw-cite-backlink"><b><a href="#cite_ref-76">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.10.4">"Scala 2.10.4 is now available!"</a>. <i>Scala-lang.org</i>. 2014-03-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-01-07</span></span>.</cite></span>
</li>
<li id="cite_note-77"><span class="mw-cite-backlink"><b><a href="#cite_ref-77">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.10.5">"Scala 2.10.5 is now available!"</a>. <i>Scala-lang.org</i>. 2015-03-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-03-23</span></span>.</cite></span>
</li>
<li id="cite_note-78"><span class="mw-cite-backlink"><b><a href="#cite_ref-78">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.0">"Scala 2.11.0 is now available!"</a>. <i>Scala-lang.org</i>. 2014-04-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-79"><span class="mw-cite-backlink"><b><a href="#cite_ref-79">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.1">"Scala 2.11.1 is now available!"</a>. <i>Scala-lang.org</i>. 2014-05-20<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-80"><span class="mw-cite-backlink"><b><a href="#cite_ref-80">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.2">"Scala 2.11.2 is now available!"</a>. <i>Scala-lang.org</i>. 2014-07-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-81"><span class="mw-cite-backlink"><b><a href="#cite_ref-81">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.4">"Scala 2.11.4 is now available!"</a>. <i>Scala-lang.org</i>. 2014-10-30<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-82"><span class="mw-cite-backlink"><b><a href="#cite_ref-82">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.5">"Scala 2.11.5 is now available!"</a>. <i>Scala-lang.org</i>. 2015-01-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-01-22</span></span>.</cite></span>
</li>
<li id="cite_note-83"><span class="mw-cite-backlink"><b><a href="#cite_ref-83">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.6">"Scala 2.11.6 is now available!"</a>. <i>Scala-lang.org</i>. 2015-03-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-03-12</span></span>.</cite></span>
</li>
<li id="cite_note-84"><span class="mw-cite-backlink"><b><a href="#cite_ref-84">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.7">"Scala 2.11.7 is now available!"</a>. <i>Scala-lang.org</i>. 2015-06-23<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-07-03</span></span>.</cite></span>
</li>
<li id="cite_note-85"><span class="mw-cite-backlink"><b><a href="#cite_ref-85">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.11.8">"Scala 2.11.8 is now available!"</a>. <i>Scala-lang.org</i>. 2016-03-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-09</span></span>.</cite></span>
</li>
<li id="cite_note-1Q17-86"><span class="mw-cite-backlink">^ <a href="#cite_ref-1Q17_86-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-1Q17_86-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/releases-1Q17.html">"Three new releases and more GitHub goodness!"</a>. <i>Scala-lang.org</i>. 2017-04-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-04-19</span></span>.</cite></span>
</li>
<li id="cite_note-87"><span class="mw-cite-backlink"><b><a href="#cite_ref-87">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/security-update-nov17.html">"Security update: 2.12.4, 2.11.12, 2.10.7 (CVE-2017-15288)"</a>. <i>Scala-lang.org</i>. 2017-11-13<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-05-04</span></span>.</cite></span>
</li>
<li id="cite_note-88"><span class="mw-cite-backlink"><b><a href="#cite_ref-88">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.0">"Scala 2.12.0 is now available!"</a>. <i>Scala-lang.org</i>. 2016-11-03<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-01-08</span></span>.</cite></span>
</li>
<li id="cite_note-89"><span class="mw-cite-backlink"><b><a href="#cite_ref-89">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.1">"Scala 2.12.1 is now available!"</a>. <i>Scala-lang.org</i>. 2016-12-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-01-08</span></span>.</cite></span>
</li>
<li id="cite_note-90"><span class="mw-cite-backlink"><b><a href="#cite_ref-90">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.3">"Scala 2.12.3 is now available!"</a>. <i>Scala-lang.org</i>. 2017-07-26<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-08-16</span></span>.</cite></span>
</li>
<li id="cite_note-91"><span class="mw-cite-backlink"><b><a href="#cite_ref-91">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.4">"Scala 2.12.4 is now available!"</a>. <i>Scala-lang.org</i>. 2017-10-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-10-26</span></span>.</cite></span>
</li>
<li id="cite_note-92"><span class="mw-cite-backlink"><b><a href="#cite_ref-92">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.5">"Scala 2.12.5 is now available!"</a>. <i>Scala-lang.org</i>. 2018-03-15<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-03-20</span></span>.</cite></span>
</li>
<li id="cite_note-93"><span class="mw-cite-backlink"><b><a href="#cite_ref-93">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.6">"Scala 2.12.6 is now available!"</a>. <i>Scala-lang.org</i>. 2018-04-27<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-05-04</span></span>.</cite></span>
</li>
<li id="cite_note-94"><span class="mw-cite-backlink"><b><a href="#cite_ref-94">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.7">"Scala 2.12.7 is now available!"</a>. <i>Scala-lang.org</i>. 2018-09-27<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-10-09</span></span>.</cite></span>
</li>
<li id="cite_note-95"><span class="mw-cite-backlink"><b><a href="#cite_ref-95">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.8">"Scala 2.12.8 is now available!"</a>. <i>Scala-lang.org</i>. 2018-12-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-12-09</span></span>.</cite></span>
</li>
<li id="cite_note-96"><span class="mw-cite-backlink"><b><a href="#cite_ref-96">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.9">"Scala 2.12.9 is now available!"</a>. <i>Scala-lang.org</i>. 2019-08-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-97"><span class="mw-cite-backlink"><b><a href="#cite_ref-97">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.10">"Scala 2.12.10 is now available!"</a>. <i>Scala-lang.org</i>. 2019-09-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-98"><span class="mw-cite-backlink"><b><a href="#cite_ref-98">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.11">"Scala 2.12.11 is now available!"</a>. <i>Scala-lang.org</i>. 2020-03-16<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-99"><span class="mw-cite-backlink"><b><a href="#cite_ref-99">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.12">"Scala 2.12.12 is now available!"</a>. <i>Scala-lang.org</i>. 2020-07-13<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-100"><span class="mw-cite-backlink"><b><a href="#cite_ref-100">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.13">"Scala 2.12.13 is now available!"</a>. <i>Scala-lang.org</i>. 2021-01-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-101"><span class="mw-cite-backlink"><b><a href="#cite_ref-101">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.14">"Scala 2.12.14 is now available!"</a>. <i>Scala-lang.org</i>. 2021-05-28<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-04-15</span></span>.</cite></span>
</li>
<li id="cite_note-102"><span class="mw-cite-backlink"><b><a href="#cite_ref-102">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.15">"Scala 2.12.15 is now available!"</a>. <i>Scala-lang.org</i>. 2021-09-14<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-06-19</span></span>.</cite></span>
</li>
<li id="cite_note-103"><span class="mw-cite-backlink"><b><a href="#cite_ref-103">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.16">"Scala 2.12.16 is now available!"</a>. <i>Scala-lang.org</i>. 2022-06-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-06-19</span></span>.</cite></span>
</li>
<li id="cite_note-104"><span class="mw-cite-backlink"><b><a href="#cite_ref-104">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.17">"Scala 2.12.17 is now available!"</a>. <i>Scala-lang.org</i>. 2022-06-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-09-16</span></span>.</cite></span>
</li>
<li id="cite_note-105"><span class="mw-cite-backlink"><b><a href="#cite_ref-105">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.18">"Scala 2.12.18 is now available!"</a>. <i>Scala-lang.org</i>. 2022-06-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-06-07</span></span>.</cite></span>
</li>
<li id="cite_note-106"><span class="mw-cite-backlink"><b><a href="#cite_ref-106">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.12.19">"Scala 2.12.19 is now available!"</a>. <i>Scala-lang.org</i>. 2024-02-25<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-107"><span class="mw-cite-backlink"><b><a href="#cite_ref-107">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.0">"Scala 2.13.0 is now available!"</a>. <i>Scala-lang.org</i>. 2019-06-11<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-06-17</span></span>.</cite></span>
</li>
<li id="cite_note-108"><span class="mw-cite-backlink"><b><a href="#cite_ref-108">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.1">"Scala 2.13.1 is now available!"</a>. <i>Scala-lang.org</i>. 2019-09-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-109"><span class="mw-cite-backlink"><b><a href="#cite_ref-109">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.2">"Scala 2.13.2 is now available!"</a>. <i>Scala-lang.org</i>. 2020-04-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-110"><span class="mw-cite-backlink"><b><a href="#cite_ref-110">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.3">"Scala 2.13.3 is now available!"</a>. <i>Scala-lang.org</i>. 2020-06-25<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-111"><span class="mw-cite-backlink"><b><a href="#cite_ref-111">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.4">"Scala 2.13.4 is now available!"</a>. <i>Scala-lang.org</i>. 2020-11-19<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-01-20</span></span>.</cite></span>
</li>
<li id="cite_note-112"><span class="mw-cite-backlink"><b><a href="#cite_ref-112">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.5">"Scala 2.13.5 is now available!"</a>. <i>Scala-lang.org</i>. 2021-02-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-02-26</span></span>.</cite></span>
</li>
<li id="cite_note-113"><span class="mw-cite-backlink"><b><a href="#cite_ref-113">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.6">"Scala 2.13.6 is now available!"</a>. <i>Scala-lang.org</i>. 2021-05-17<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-04-15</span></span>.</cite></span>
</li>
<li id="cite_note-114"><span class="mw-cite-backlink"><b><a href="#cite_ref-114">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.7">"Scala 2.13.7 is now available!"</a>. <i>Scala-lang.org</i>. 2021-11-01<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-04-15</span></span>.</cite></span>
</li>
<li id="cite_note-115"><span class="mw-cite-backlink"><b><a href="#cite_ref-115">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.8">"Scala 2.13.8 is now available!"</a>. <i>Scala-lang.org</i>. 2022-01-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-04-15</span></span>.</cite></span>
</li>
<li id="cite_note-116"><span class="mw-cite-backlink"><b><a href="#cite_ref-116">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.9">"Scala 2.13.9 is now available!"</a>. <i>Scala-lang.org</i>. 2022-09-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-08-28</span></span>.</cite></span>
</li>
<li id="cite_note-117"><span class="mw-cite-backlink"><b><a href="#cite_ref-117">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.10">"Scala 2.13.10 is now available!"</a>. <i>Scala-lang.org</i>. 2022-10-13<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-08-28</span></span>.</cite></span>
</li>
<li id="cite_note-118"><span class="mw-cite-backlink"><b><a href="#cite_ref-118">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.11">"Scala 2.13.11 is now available!"</a>. <i>Scala-lang.org</i>. 2023-06-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-08-28</span></span>.</cite></span>
</li>
<li id="cite_note-119"><span class="mw-cite-backlink"><b><a href="#cite_ref-119">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.12">"Scala 2.13.12 is now available!"</a>. <i>Scala-lang.org</i>. 2023-09-11<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-120"><span class="mw-cite-backlink"><b><a href="#cite_ref-120">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.13">"Scala 2.13.13 is now available!"</a>. <i>Scala-lang.org</i>. 2024-02-26<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-121"><span class="mw-cite-backlink"><b><a href="#cite_ref-121">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.14">"Scala 2.13.14 is now available!"</a>. <i>Scala-lang.org</i>. 2024-05-01<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-122"><span class="mw-cite-backlink"><b><a href="#cite_ref-122">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/2.13.15">"Scala 2.13.15 is now available!"</a>. <i>Scala-lang.org</i>. 2024-09-25<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-12-05</span></span>.</cite></span>
</li>
<li id="cite_note-123"><span class="mw-cite-backlink"><b><a href="#cite_ref-123">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2021/05/14/scala3-is-here.html">"Scala 3 is here!"</a>. <i>Scala-lang.org</i>. 2021-05-14<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-05-26</span></span>.</cite></span>
</li>
<li id="cite_note-124"><span class="mw-cite-backlink"><b><a href="#cite_ref-124">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2021/07/21/scala-3.0.2RC1-is-here.html">"Scala 3.0.1 and 3.0.2-RC1 are here!"</a>. <i>Scala-lang.org</i>. 2021-07-31<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-125"><span class="mw-cite-backlink"><b><a href="#cite_ref-125">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2021/09/07/scala-3.0.2-released.html">"Scala 3.0.2 released!"</a>. <i>Scala-lang.org</i>. 2021-09-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-126"><span class="mw-cite-backlink"><b><a href="#cite_ref-126">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2021/10/21/scala-3.1.0-released.html">"Scala 3.1.0 released!"</a>. <i>Scala-lang.org</i>. 2021-10-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-127"><span class="mw-cite-backlink"><b><a href="#cite_ref-127">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2022/02/01/scala-3.1.1-released.html">"Scala 3.1.1 and forward compatibility news"</a>. <i>Scala-lang.org</i>. 2022-02-01<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-128"><span class="mw-cite-backlink"><b><a href="#cite_ref-128">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2022/04/12/scala-3.1.2-released.html">"Scala 3.1.2 released!"</a>. <i>Scala-lang.org</i>. 2022-04-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-129"><span class="mw-cite-backlink"><b><a href="#cite_ref-129">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2022/06/21/scala-3.1.3-released.html">"Scala 3.1.3 released!"</a>. <i>Scala-lang.org</i>. 2022-06-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-130"><span class="mw-cite-backlink"><b><a href="#cite_ref-130">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2022/09/05/scala-3.2.0-released.html">"Scala 3.2.0 released!"</a>. <i>Scala-lang.org</i>. 2022-09-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-131"><span class="mw-cite-backlink"><b><a href="#cite_ref-131">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2022/11/07/scala-3.2.1-released.html">"Scala 3.2.1 released!"</a>. <i>Scala-lang.org</i>. 2022-11-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-132"><span class="mw-cite-backlink"><b><a href="#cite_ref-132">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/3.2.2">"Scala 3.2.2 is now available!"</a>. <i>Scala-lang.org</i>. 2023-01-30<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-133"><span class="mw-cite-backlink"><b><a href="#cite_ref-133">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2023/05/30/scala-3.3.0-released.html">"Scala 3.3.0 released!"</a>. <i>Scala-lang.org</i>. 2023-05-30<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-134"><span class="mw-cite-backlink"><b><a href="#cite_ref-134">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/3.3.1">"Scala 3.3.1 LTS is now available!"</a>. <i>Scala-lang.org</i>. 2023-09-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-135"><span class="mw-cite-backlink"><b><a href="#cite_ref-135">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/scala/scala3/releases/tag/3.3.2">"Scala 3.3.2"</a>. <i>github.com</i>. 2024-02-29<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-scala-lang.org-136"><span class="mw-cite-backlink">^ <a href="#cite_ref-scala-lang.org_136-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-scala-lang.org_136-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/blog/2024/02/29/scala-3.4.0-and-3.3.3-released.html">"Scala 3.4.0 and 3.3.3 LTS released!"</a>. <i>Scala-lang.org</i>. 2024-02-29<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-137"><span class="mw-cite-backlink"><b><a href="#cite_ref-137">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/3.4.1">"Scala 3.4.1 is now available!"</a>. <i>Scala-lang.org</i>. 2024-03-29<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-Latest-138"><span class="mw-cite-backlink"><b><a href="#cite_ref-Latest_138-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.scala-lang.org/news/3.4.2">"Scala 3.4.2 is now available!"</a>. <i>Scala-lang.org</i>. 2024-05-16<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-12</span></span>.</cite></span>
</li>
<li id="cite_note-139"><span class="mw-cite-backlink"><b><a href="#cite_ref-139">^</a></b></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://martinfowler.com/articles/radar-faq.html">"ThoughtWorks Technology Radar FAQ"</a>.</cite></span>
</li>
<li id="cite_note-140"><span class="mw-cite-backlink"><b><a href="#cite_ref-140">^</a></b></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="http://thoughtworks.fileburst.com/assets/technology-radar-may-2013.pdf">"ThoughtWorks Technology Radar MAY 2013"</a> <span class="cs1-format">(PDF)</span>.</cite></span>
</li>
<li id="cite_note-tw2-141"><span class="mw-cite-backlink"><b><a href="#cite_ref-tw2_141-0">^</a></b></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://www.thoughtworks.com/radar/languages-and-frameworks/scala-the-good-parts">"Scala, the good parts"</a>.</cite></span>
</li>
<li id="cite_note-142"><span class="mw-cite-backlink"><b><a href="#cite_ref-142">^</a></b></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://www.baeldung.com/java-in-2018">"The State of Java in 2018"</a>.</cite></span>
</li>
<li id="cite_note-pypl-143"><span class="mw-cite-backlink"><b><a href="#cite_ref-pypl_143-0">^</a></b></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://pypl.github.io/PYPL.html">"Popularity of Programming Language Index"</a>.</cite></span>
</li>
<li id="cite_note-redmonk2-144"><span class="mw-cite-backlink">^ <a href="#cite_ref-redmonk2_144-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-redmonk2_144-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFO'Grady2021" class="citation news cs1">O'Grady, Stephen (1 March 2021). <a rel="nofollow" class="external text" href="https://redmonk.com/sogrady/2021/03/01/language-rankings-1-21/">"The RedMonk Programming Language Rankings: January 2021"</a>. <i>RedMonk</i>.</cite></span>
</li>
<li id="cite_note-tiobe1-145"><span class="mw-cite-backlink">^ <a href="#cite_ref-tiobe1_145-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-tiobe1_145-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://www.tiobe.com/tiobe-index/">"TIOBE Index for May 2021"</a>.</cite></span>
</li>
<li id="cite_note-146"><span class="mw-cite-backlink"><b><a href="#cite_ref-146">^</a></b></span> <span class="reference-text"><cite id="CITEREFGreene2009" class="citation web cs1">Greene, Kate (1 April 2009). <a rel="nofollow" class="external text" href="https://www.technologyreview.com/2009/04/01/214481/the-secret-behind-twitters-growth/">"The Secret Behind Twitter's Growth, How a new Web programming language is helping the company handle its increasing popularity"</a>. <i>Technology Review</i>. MIT<span class="reference-accessdate">. Retrieved <span class="nowrap">6 April</span> 2009</span>.</cite></span>
</li>
<li id="cite_note-147"><span class="mw-cite-backlink"><b><a href="#cite_ref-147">^</a></b></span> <span class="reference-text"><cite id="CITEREFBreckLink2020" class="citation web cs1">Breck, Colin; Link, Percy (2020-03-23). <a rel="nofollow" class="external text" href="https://www.infoq.com/presentations/tesla-vpp/">"Tesla Virtual Power Plant (Architecture and Design)"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2023-03-28</span></span>.</cite></span>
</li>
<li id="cite_note-148"><span class="mw-cite-backlink"><b><a href="#cite_ref-148">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/apache/kafka/tree/trunk/core/src/main/scala/kafka">"Apache Kafka source code at GitHub"</a>. Apache Software Foundation<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2023</span>.</cite></span>
</li>
<li id="cite_note-149"><span class="mw-cite-backlink"><b><a href="#cite_ref-149">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.lightbend.com/blog/play_framework_akka_and_scala_at_gilt">"Play Framework, Akka and Scala at Gilt Groupe"</a>. Lightbend. 15 July 2013<span class="reference-accessdate">. Retrieved <span class="nowrap">16 July</span> 2016</span>.</cite></span>
</li>
<li id="cite_note-150"><span class="mw-cite-backlink"><b><a href="#cite_ref-150">^</a></b></span> <span class="reference-text"><cite class="citation web cs1 cs1-prop-unfit"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20160113201402/http://www.grenadesandwich.com/blog/steven/2009/11/27/scala-lift-and-future">"Scala, Lift, and the Future"</a>. Archived from the original on 13 January 2016<span class="reference-accessdate">. Retrieved <span class="nowrap">4 July</span> 2015</span>.</cite></span>
</li>
<li id="cite_note-151"><span class="mw-cite-backlink"><b><a href="#cite_ref-151">^</a></b></span> <span class="reference-text"><cite id="CITEREFSaeta2014" class="citation web cs1">Saeta, Brennan (2014-02-17). <a rel="nofollow" class="external text" href="https://medium.com/coursera-engineering/why-we-love-scala-at-coursera-80fa1fc66d74">"Why we love Scala at Coursera"</a>. Coursera Engineering<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-09-21</span></span>.</cite></span>
</li>
<li id="cite_note-152"><span class="mw-cite-backlink"><b><a href="#cite_ref-152">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://twitter.com/hayvok/status/705468085461889025">"Apple Engineering PM Jarrod Nettles on Twitter"</a>. Jarrod Nettles<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-11</span></span>.</cite></span>
</li>
<li id="cite_note-153"><span class="mw-cite-backlink"><b><a href="#cite_ref-153">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://alvinalexander.com/photos/30-scala-job-openings-apple">"30 Scala job openings at Apple"</a>. Alvin Alexander<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-11</span></span>.</cite></span>
</li>
<li id="cite_note-154"><span class="mw-cite-backlink"><b><a href="#cite_ref-154">^</a></b></span> <span class="reference-text"><cite id="CITEREFDavid_ReidTania_Teixeira2010" class="citation news cs1">David Reid &amp; Tania Teixeira (26 February 2010). <a rel="nofollow" class="external text" href="https://news.bbc.co.uk/1/hi/programmes/click_online/8537519.stm">"Are people ready to pay for online news?"</a>. BBC<span class="reference-accessdate">. Retrieved <span class="nowrap">2010-02-28</span></span>.</cite></span>
</li>
<li id="cite_note-155"><span class="mw-cite-backlink"><b><a href="#cite_ref-155">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.h-online.com/open/news/item/Guardian-switching-from-Java-to-Scala-1221832.html">"Guardian switching from Java to Scala"</a>. <a href="Heise_Online" class="mw-redirect" title="Heise Online">Heise Online</a>. 2011-04-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-04-05</span></span>.</cite></span>
</li>
<li id="cite_note-156"><span class="mw-cite-backlink"><b><a href="#cite_ref-156">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.infoq.com/articles/guardian_scala">"Guardian.co.uk Switching from Java to Scala"</a>. InfoQ.com. 2011-04-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-04-05</span></span>.</cite></span>
</li>
<li id="cite_note-157"><span class="mw-cite-backlink"><b><a href="#cite_ref-157">^</a></b></span> <span class="reference-text"><cite id="CITEREFRoySundaresan2014" class="citation news cs1">Roy, Suman; Sundaresan, Krishna (2014-05-13). <a rel="nofollow" class="external text" href="https://open.blogs.nytimes.com/2014/05/13/building-blackbeard-a-syndication-system-powered-by-play-scala-and-akka">"Building Blackbeard: A Syndication System Powered By Play, Scala and Akka"</a>. <i><a href="The_New_York_Times" title="The New York Times">The New York Times</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-07-20</span></span>.</cite></span>
</li>
<li id="cite_note-158"><span class="mw-cite-backlink"><b><a href="#cite_ref-158">^</a></b></span> <span class="reference-text"><cite id="CITEREFPavley2013" class="citation news cs1">Pavley, John (2013-08-11). <a rel="nofollow" class="external text" href="https://www.huffingtonpost.com/john-pavley/huffpost-content-management-system_b_3739572.html">"Sneak Peek: HuffPost Brings Real Time Collaboration to the Newsroom"</a>. <i><a href="Huffington_Post" class="mw-redirect" title="Huffington Post">Huffington Post</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">2014-07-20</span></span>.</cite></span>
</li>
<li id="cite_note-159"><span class="mw-cite-backlink"><b><a href="#cite_ref-159">^</a></b></span> <span class="reference-text"><cite id="CITEREFBinstock2011" class="citation news cs1">Binstock, Andrew (2011-07-14). <a rel="nofollow" class="external text" href="https://drdobbs.com/architecture-and-design/231001802">"Interview with Scala's Martin Odersky"</a>. <i><a href="Dr._Dobb's_Journal" title="Dr. Dobb's Journal">Dr. Dobb's Journal</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">2012-02-10</span></span>.</cite></span>
</li>
<li id="cite_note-160"><span class="mw-cite-backlink"><b><a href="#cite_ref-160">^</a></b></span> <span class="reference-text"><cite id="CITEREFSynodinos2010" class="citation news cs1">Synodinos, Dionysios G. (2010-10-11). <a rel="nofollow" class="external text" href="https://www.infoq.com/articles/linkedin-scala-jruby-voldemort">"LinkedIn Signal: A Case Study for Scala, JRuby and Voldemort"</a>. <a href="InfoQ" title="InfoQ">InfoQ</a>.</cite></span>
</li>
<li id="cite_note-161"><span class="mw-cite-backlink"><b><a href="#cite_ref-161">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://making.meetup.com/post/2929945070/real-life-meetups-deserve-real-time-apis">"Real-life Meetups Deserve Real-time APIs"</a>.</cite></span>
</li>
<li id="cite_note-162"><span class="mw-cite-backlink"><b><a href="#cite_ref-162">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://blog.rememberthemilk.com/2011/08/real-time-updating-comes-to-the-remember-the-milk-web-app">"Real time updating comes to the Remember The Milk web app"</a>.</cite></span>
</li>
<li id="cite_note-163"><span class="mw-cite-backlink"><b><a href="#cite_ref-163">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://geniusadstech.com/what-is-scala-learn-scala/">"WHAT IS SCALA"</a>. 8 March 2023<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-03-17</span></span>.</cite></span>
</li>
<li id="cite_note-164"><span class="mw-cite-backlink"><b><a href="#cite_ref-164">^</a></b></span> <span class="reference-text"><cite id="CITEREFNovet,_Jordan2015" class="citation web cs1">Novet, Jordan (2015-06-04). <a rel="nofollow" class="external text" href="https://venturebeat.com/2015/06/04/airbnb-introduces-aerosolve-a-open-source-machine-learning-software-package/">"Airbnb announces Aerosolve, an open-source machine learning software package"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-09</span></span>.</cite></span>
</li>
<li id="cite_note-165"><span class="mw-cite-backlink"><b><a href="#cite_ref-165">^</a></b></span> <span class="reference-text"><cite id="CITEREFKops,_Alexander2015" class="citation web cs1">Kops, Alexander (2015-12-14). <a rel="nofollow" class="external text" href="https://www.slideshare.net/ZalandoTech/zalando-tech-from-java-to-scala-in-less-than-three-months">"Zalando Tech: From Java to Scala in Less Than Three Months"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-09</span></span>.</cite></span>
</li>
<li id="cite_note-166"><span class="mw-cite-backlink"><b><a href="#cite_ref-166">^</a></b></span> <span class="reference-text"><cite id="CITEREFCalçado,_Phil2014" class="citation web cs1">Calçado, Phil (2014-06-13). <a rel="nofollow" class="external text" href="https://developers.soundcloud.com/blog/building-products-at-soundcloud-part-3-microservices-in-scala-and-finagle">"Building Products at SoundCloud—Part III: Microservices in Scala and Finagle"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-09</span></span>.</cite></span>
</li>
<li id="cite_note-167"><span class="mw-cite-backlink"><b><a href="#cite_ref-167">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.concurrentinc.com/customer/soundcloud/">"Customer Case Studies: SoundCloud"</a>. <i>Concurrent Inc</i>. 2014-11-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-09</span></span>.</cite></span>
</li>
<li id="cite_note-168"><span class="mw-cite-backlink"><b><a href="#cite_ref-168">^</a></b></span> <span class="reference-text"><cite class="citation audio-visual cs1"><a rel="nofollow" class="external text" href="https://vimeo.com/147697498"><i>Scala at Morgan Stanley</i></a> (video). Skills Matter. 2015-12-03<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-11</span></span>.</cite></span>
</li>
<li id="cite_note-169"><span class="mw-cite-backlink"><b><a href="#cite_ref-169">^</a></b></span> <span class="reference-text"><cite class="citation audio-visual cs1">Greg Soltis (2015-12-03). <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=THcAwoA5G2w"><i>SF Scala, Greg Soltis: High Performance Services in Scala</i></a> (video). Skills Matter. <a rel="nofollow" class="external text" href="https://ghostarchive.org/varchive/youtube/20211221/THcAwoA5G2w">Archived</a> from the original on 2021-12-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-11</span></span>.</cite></span>
</li>
<li id="cite_note-170"><span class="mw-cite-backlink"><b><a href="#cite_ref-170">^</a></b></span> <span class="reference-text"><cite id="CITEREFLee_Mighdoll" class="citation web cs1">Lee Mighdoll. <a rel="nofollow" class="external text" href="https://www.scala-lang.org/old/node/11547.html">"Scala jobs at Nest"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-11</span></span>.</cite></span>
</li>
<li id="cite_note-171"><span class="mw-cite-backlink"><b><a href="#cite_ref-171">^</a></b></span> <span class="reference-text"><cite id="CITEREFNurun" class="citation web cs1">Nurun. <a rel="nofollow" class="external text" href="https://www.nurun.com/en/news/nurun-launches-redesigned-transactional-platform-with-walmart-canada/">"Nurun Launches Redesigned Transactional Platform With Walmart Canada"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2013-12-11</span></span>.</cite></span>
</li>
<li id="cite_note-172"><span class="mw-cite-backlink"><b><a href="#cite_ref-172">^</a></b></span> <span class="reference-text"><cite id="CITEREFHorie2017" class="citation web cs1">Horie, André K. (2017-01-31). <a rel="nofollow" class="external text" href="https://making.duolingo.com/rewriting-duolingos-engine-in-scala">"Rewriting Duolingo's engine in Scala"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2017-02-03</span></span>.</cite></span>
</li>
<li id="cite_note-173"><span class="mw-cite-backlink"><b><a href="#cite_ref-173">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/hmrc?utf8=%E2%9C%93&amp;q=&amp;type=&amp;language=scala">"HMRC GitHub repository"</a>. <i><a href="GitHub" title="GitHub">GitHub</a></i>.</cite></span>
</li>
<li id="cite_note-174"><span class="mw-cite-backlink"><b><a href="#cite_ref-174">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.scalacon.org/blog/meet-gold-sponsor-m1-finance">"Meet M1 Finance, A ScalaCon Gold Sponsor"</a>. <i>ScalaCon</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2023-09-02</span></span>.</cite></span>
</li>
<li id="cite_note-175"><span class="mw-cite-backlink"><b><a href="#cite_ref-175">^</a></b></span> <span class="reference-text"><cite id="CITEREFHale2011" class="citation web cs1">Hale, Coda (29 November 2011). <a rel="nofollow" class="external text" href="https://codahale.com/the-rest-of-the-story/">"The Rest of the Story"</a>. <i>codahale.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">7 November</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-176"><span class="mw-cite-backlink"><b><a href="#cite_ref-176">^</a></b></span> <span class="reference-text"><cite class="citation audio-visual cs1">Krikorian, Raffi (17 March 2015). <a rel="nofollow" class="external text" href="https://techbus.safaribooksonline.com/video/software-engineering-and-development/9781491924563"><i>O'Reilly Software Architecture Conference 2015 Complete Video Compilation: Re-Architecting on the Fly - Raffi Krikorian - Part 3</i></a> (video). O'Reilly Media. Event occurs at 4:57<span class="reference-accessdate">. Retrieved <span class="nowrap">8 March</span> 2016</span>. <q>What I would have done differently four years ago is use Java and not used Scala as part of this rewrite. [...] it would take an engineer two months before they're fully productive and writing Scala code.</q></cite></span>
</li>
<li id="cite_note-177"><span class="mw-cite-backlink"><b><a href="#cite_ref-177">^</a></b></span> <span class="reference-text"><cite id="CITEREFScott2015" class="citation web cs1">Scott, Kevin (11 Mar 2015). <a rel="nofollow" class="external text" href="https://www.quora.com/Is-LinkedIn-getting-rid-of-Scala">"Is LinkedIn getting rid of Scala?"</a>. <i>quora.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">25 January</span> 2016</span>.</cite></span>
</li>
<li id="cite_note-178"><span class="mw-cite-backlink"><b><a href="#cite_ref-178">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://aspire.eecs.berkeley.edu/projects/chisel-constructing-hardware-in-a-scala-embedded-language/">"Chisel: Constructing Hardware in a Scala Embedded Language"</a>. <i>UC Berkeley APSIRE</i><span class="reference-accessdate">. Retrieved <span class="nowrap">27 May</span> 2020</span>.</cite></span>
</li>
</ol></div>
<div class="mw-heading mw-heading2"><h2 id="Further_reading">Further reading</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1290876196">
/* start https://en.wikipedia.org/ */


.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .infobox .side-box{font-size:100%}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}


/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1237033735">
/* start https://en.wikipedia.org/ */


@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}


/* end https://en.wikipedia.org/ */
</style><div class="side-box side-box-right sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">
/* start https://en.wikipedia.org/ */


.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}


/* end https://en.wikipedia.org/ */
</style>
<div class="side-box-flex">
<div class="side-box-image"><span class="noviewer" typeof="mw:File"></span></div>
<div class="side-box-text plainlist">Wikibooks has a book on the topic of: <i><b><a href="https://en.wikibooks.org/wiki/Scala" class="extiw external" title="wikibooks:Scala">Scala</a></b></i></div></div>
</div>
<style data-mw-deduplicate="TemplateStyles:r1239549316">
/* start https://en.wikipedia.org/ */


.mw-parser-output .refbegin{margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}@media screen{.mw-parser-output .refbegin{font-size:90%}}


/* end https://en.wikipedia.org/ */
</style><div class="refbegin" style="">
<ul><li><cite id="CITEREFOderskySpoonVenners2019" class="citation book cs1">Odersky, Martin; Spoon, Lex; Venners, Bill (15 December 2019). <a rel="nofollow" class="external text" href="https://www.artima.com/shop/programming_in_scala_4ed"><i>Programming in Scala: A Comprehensive Step-by-step Guide</i></a> (4th&nbsp;ed.). Artima Inc. p.&nbsp;896. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-0-9815316-1-8</bdi>.</cite></li>
<li><cite id="CITEREFHorstmann2016" class="citation book cs1">Horstmann, Cay (15 December 2016). <a rel="nofollow" class="external text" href="https://www.informit.com/title/9780134540566"><i>Scala for the Impatient</i></a> (2nd&nbsp;ed.). <a href="Addison-Wesley_Professional" class="mw-redirect" title="Addison-Wesley Professional">Addison-Wesley Professional</a>. p.&nbsp;384. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-0-134-54056-6</bdi>.</cite></li>
<li><cite id="CITEREFWamplerPayne2014" class="citation book cs1">Wampler, Dean; Payne, Alex (14 December 2014). <a rel="nofollow" class="external text" href="https://oreilly.com/catalog/9781491949856/"><i>Programming Scala: Scalability = Functional Programming + Objects</i></a> (2nd&nbsp;ed.). <a href="O'Reilly_Media" title="O'Reilly Media">O'Reilly Media</a>. p.&nbsp;583. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-1-491-94985-6</bdi>.</cite></li>
<li><cite id="CITEREFSuereth2011" class="citation book cs1">Suereth, Joshua D. (Spring 2011). <span class="id-lock-limited" title="Free access subject to limited trial, subscription normally required"><a rel="nofollow" class="external text" href="https://archive.org/details/scaladepth00suer_381"><i>Scala in Depth</i></a></span>. <a href="Manning_Publications" title="Manning Publications">Manning Publications</a>. p.&nbsp;<a rel="nofollow" class="external text" href="https://archive.org/details/scaladepth00suer_381/page/n245">225</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-1-935182-70-2</bdi>.</cite></li>
<li><cite id="CITEREFMeredith2011" class="citation book cs1">Meredith, Gregory (2011). <a rel="nofollow" class="external text" href="https://github.com/leithaus/XTrace/blob/monadic/src/main/book/content/monadic.pdf"><i>Monadic Design Patterns for the Web</i></a> <span class="cs1-format">(PDF)</span> (1st&nbsp;ed.). p.&nbsp;300.</cite></li>
<li><cite id="CITEREFOderskySpoonVenners2008" class="citation book cs1">Odersky, Martin; Spoon, Lex; Venners, Bill (10 December 2008). <a rel="nofollow" class="external text" href="https://www.artima.com/pins1ed"><i>Programming in Scala, eBook</i></a> (1st&nbsp;ed.). Artima Inc.</cite></li></ul>
</div>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox" aria-labelledby="Java_(software_platform)419" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="3"><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div id="Java_(software_platform)419" style="font-size:114%;margin:0 4em"><a href="Java_(software_platform)" title="Java (software platform)">Java (software platform)</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Platforms</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Java_virtual_machine" title="Java virtual machine">JVM</a></li>
<li><a href="Java_Platform%2C_Micro_Edition" title="Java Platform, Micro Edition">Java ME</a> (Micro)</li>
<li><a href="Java_Platform%2C_Standard_Edition" title="Java Platform, Standard Edition">Java SE</a> (Standard)</li>
<li><a href="Jakarta_EE" title="Jakarta EE">Jakarta EE</a> (Enterprise)</li>
<li><a href="Java_Card" title="Java Card">Java Card</a></li>
<li><a href="Android_software_development#SDK" title="Android software development">Android SDK</a></li>
<li><a href="GraalVM" title="GraalVM">GraalVM</a></li></ul>
</div></td><td class="noviewer navbox-image" rowspan="5" style="width:1px;padding:0 0 0 2px"><div><span typeof="mw:File"></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Technologies</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Oracle</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Squawk_virtual_machine" title="Squawk virtual machine">Squawk</a></li>
<li><a href="Java_Development_Kit" title="Java Development Kit">Java Development Kit</a></li>
<li><a href="OpenJDK" title="OpenJDK">OpenJDK</a></li>
<li><a href="Java_virtual_machine" title="Java virtual machine">Java virtual machine</a></li>
<li><a href="JavaFX" title="JavaFX">JavaFX</a></li>
<li><a href="Maxine_Virtual_Machine" title="Maxine Virtual Machine">Maxine VM</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Platform</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Java_applet" title="Java applet">Applets</a></li>
<li><a href="Jakarta_Servlet" title="Jakarta Servlet">Servlets</a></li>
<li><a href="MIDlet" title="MIDlet">MIDlets</a></li>
<li><a href="Jakarta_Server_Pages" title="Jakarta Server Pages">JSP</a></li>
<li><a href="Jakarta_Faces" title="Jakarta Faces">JSF</a></li>
<li><a href="Java_Web_Start" title="Java Web Start">Web Start</a> (JNLP)</li>
<li><a href="Pack200" title="Pack200">Pack200</a></li>
<li><a href="Java_Platform_Module_System" title="Java Platform Module System">Modules</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Major<br>third-party</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Blackdown_Java" title="Blackdown Java">Blackdown</a></li>
<li><a href="Eclipse_(software)" title="Eclipse (software)">Eclipse</a></li>
<li><a href="GNU_Classpath" title="GNU Classpath">GNU Classpath</a></li>
<li><a href="Google_Web_Toolkit" title="Google Web Toolkit">GWT</a></li>
<li><a href="Apache_Harmony" title="Apache Harmony">Harmony</a></li>
<li><a href="Hibernate_(framework)" title="Hibernate (framework)">Hibernate</a></li>
<li><a href="IcedTea" title="IcedTea">IcedTea</a></li>
<li><a href="Jazelle" title="Jazelle">Jazelle</a></li>
<li><a href="Spring_Framework" title="Spring Framework">Spring</a></li>
<li><a href="Apache_Struts" title="Apache Struts">Struts</a></li>
<li><a href="Oracle_TopLink" title="Oracle TopLink">TopLink</a></li>
<li><a href="WildFly" title="WildFly">WildFly</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">History</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Java_version_history" title="Java version history">Java version history</a></li>
<li><a href="Java_Community_Process" title="Java Community Process">Java Community Process</a></li>
<li><a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a></li>
<li><a href="Free_Java_implementations" title="Free Java implementations">Free Java implementations</a></li>
<li>Slogan: <i><a href="Write_once%2C_run_anywhere" title="Write once, run anywhere">Write once, run anywhere</a></i></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="List_of_JVM_languages" title="List of JVM languages">JVM<br>languages</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Java_(programming_language)" title="Java (programming language)">Java</a></li>
<li><a href="BeanShell" title="BeanShell">BeanShell</a></li>
<li><a href="Clojure" title="Clojure">Clojure</a></li>
<li><a href="Groovy_(programming_language)" class="mw-redirect" title="Groovy (programming language)">Groovy</a></li>
<li><a href="JRuby" title="JRuby">JRuby</a></li>
<li><a href="Jython" title="Jython">Jython</a></li>
<li><a href="Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a></li>
<li><a href="Processing" title="Processing">Processing</a></li>
<li><a href="Rhino_(JavaScript_engine)" title="Rhino (JavaScript engine)">Rhino</a></li>

<li><a href="Oxygene_(programming_language)" title="Oxygene (programming language)">Oxygene</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Community</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Conferences</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="JavaOne" title="JavaOne">JavaOne</a></li>
<li><a href="Devoxx" title="Devoxx">Devoxx</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Organizations</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Apache_Software_Foundation" class="mw-redirect" title="Apache Software Foundation">Apache Software Foundation</a></li>
<li><a href="Eclipse_Foundation" title="Eclipse Foundation">Eclipse Foundation</a></li>
<li><a href="Java_Community_Process" title="Java Community Process">Java Community Process</a></li>
<li><a href="Oracle_Corporation" title="Oracle Corporation">Oracle Corporation</a></li>
<li><a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a>, <a href="Sun_Microsystems_Laboratories" class="mw-redirect" title="Sun Microsystems Laboratories">Sun Microsystems Laboratories</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">People</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="James_Gosling" title="James Gosling">James Gosling</a></li>
<li><a href="Arthur_van_Hoff" title="Arthur van Hoff">Arthur van Hoff</a></li>
<li><a href="Urs_H%C3%B6lzle" title="Urs Hölzle">Urs Hölzle</a></li>
<li>Patrick Naughton</li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><td class="navbox-abovebelow" colspan="3"><div><span class="noviewer" typeof="mw:File"><span title="Category"></span></span> <b>Category</b> • <span class="nowrap"><span class="skin-invert-image noviewer" typeof="mw:File"></span> </span><a href="Portal%3AComputer_programming" title="Portal:Computer programming">Computer programming portal</a></div></td></tr></tbody></table></div>
<div class="navbox-styles"></div><div role="navigation" class="navbox" aria-labelledby="Common_Language_Infrastructure106" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Common_Language_Infrastructure106" style="font-size:114%;margin:0 4em"><a href="Common_Language_Infrastructure" title="Common Language Infrastructure">Common Language Infrastructure</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Architecture</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Application_domain" title="Application domain">Application domain</a></li>
<li><a href="Code_Access_Security" title="Code Access Security">Code Access Security</a></li>
<li><a href="Common_Intermediate_Language" title="Common Intermediate Language">Common Intermediate Language</a>
<ul><li><a href="List_of_CIL_instructions" title="List of CIL instructions">instructions</a></li></ul></li>
<li><a href="Common_Type_System" title="Common Type System">Common Type System</a></li>
<li><a href="Platform_Invocation_Services" title="Platform Invocation Services">Platform Invocation Services</a></li>
<li><a href="Virtual_Execution_System" title="Virtual Execution System">Virtual Execution System</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Components</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Assembly_(CLI)" title="Assembly (CLI)">Assembly</a></li>
<li><a href="Delegate_(CLI)" title="Delegate (CLI)">Delegate</a></li>
<li><a href="Global_Assembly_Cache" title="Global Assembly Cache">Global Assembly Cache</a></li>
<li><a href="Manifest_(CLI)" title="Manifest (CLI)">Manifest</a></li>
<li><a href="Metadata_(CLI)" title="Metadata (CLI)">Metadata</a></li>
<li><a href="Standard_Libraries_(CLI)" title="Standard Libraries (CLI)">Standard Libraries</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Implementations</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Microsoft</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href=".NET" title=".NET">.NET</a></li>
<li><a href=".NET_Framework" title=".NET Framework">.NET Framework</a></li>
<li><a href=".NET_Compact_Framework" title=".NET Compact Framework">.NET Compact Framework</a></li>
<li><a href=".NET_Micro_Framework" title=".NET Micro Framework">.NET Micro Framework</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Mono_(software)" title="Mono (software)">Mono</a></li>
<li><a href="DotGNU" title="DotGNU">DotGNU</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="List_of_CLI_languages" title="List of CLI languages">Languages</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Major</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a></li>
<li><a href="Visual_Basic_(.NET)" title="Visual Basic (.NET)">Visual Basic</a></li>
<li><a href="F_Sharp_(programming_language)" title="F Sharp (programming language)">F#</a></li>
<li><a href="PowerShell" title="PowerShell">PowerShell</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Axum_(programming_language)" title="Axum (programming language)">Axum</a></li>
<li><a href="A_Sharp_(.NET)" title="A Sharp (.NET)">A#</a></li>
<li><a href="Boo_(programming_language)" title="Boo (programming language)">Boo</a></li>
<li><a href="Clojure" title="Clojure">Clojure</a></li>
<li><a href="Cobra_(programming_language)" title="Cobra (programming language)">Cobra</a></li>
<li><a href="C%2B%2B/CLI" title="C++/CLI">C++/CLI</a></li>
<li><a href="IronScheme" title="IronScheme">IronScheme</a></li>
<li><a href="IronPython" title="IronPython">IronPython</a></li>
<li><a href="IronRuby" title="IronRuby">IronRuby</a></li>
<li><a href="JScript_.NET" title="JScript .NET">JScript .NET</a></li>
<li><a href="Visual_J_Sharp" title="Visual J Sharp">J#</a></li>
<li><a href="Nemerle" title="Nemerle">Nemerle</a></li>
<li><a href="Oxygene_(programming_language)" title="Oxygene (programming language)">Oxygene</a></li>
<li><a href="Phalanger_(compiler)" title="Phalanger (compiler)">Phalanger</a></li>
<li><a href="Q_Sharp" title="Q Sharp">Q#</a></li>

<li><a href="Microsoft_Small_Basic" title="Microsoft Small Basic">Small Basic</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Comparison</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Comparison_of_C_Sharp_and_Java" title="Comparison of C Sharp and Java">C# and Java</a></li>
<li><a href="Comparison_of_C_Sharp_and_Visual_Basic_.NET" title="Comparison of C Sharp and Visual Basic .NET">C# and Visual Basic .NET</a></li>
<li><a href="Comparison_of_Visual_Basic_and_Visual_Basic_.NET" title="Comparison of Visual Basic and Visual Basic .NET">Visual Basic and Visual Basic .NET</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr></tbody></table></div>
<div class="navbox-styles"></div><div role="navigation" class="navbox" aria-labelledby="Programming_languages625" style="padding:3px"><table class="nowraplinks hlist mw-collapsible expanded navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Programming_languages625" style="font-size:114%;margin:0 4em"><a href="Programming_language" title="Programming language">Programming languages</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><a href="Comparison_of_programming_languages" title="Comparison of programming languages">Comparison</a></li>
<li><a href="Timeline_of_programming_languages" title="Timeline of programming languages">Timeline</a></li>
<li><a href="History_of_programming_languages" title="History of programming languages">History</a></li></ul>
</div></td></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Ada_(programming_language)" title="Ada (programming language)">Ada</a></li>
<li><a href="ALGOL" title="ALGOL">ALGOL</a>
<ul><li><a href="Simula" title="Simula">Simula</a></li></ul></li>
<li><a href="APL_(programming_language)" title="APL (programming language)">APL</a></li>
<li><a href="Assembly_language" title="Assembly language">Assembly</a></li>
<li><a href="BASIC" title="BASIC">BASIC</a>
<ul><li><a href="Visual_Basic" title="Visual Basic">Visual Basic</a>
<ul><li><a href="Visual_Basic_(classic)" title="Visual Basic (classic)">classic</a></li>
<li><a href="Visual_Basic_(.NET)" title="Visual Basic (.NET)">.NET</a></li></ul></li></ul></li>
<li><a href="C_(programming_language)" title="C (programming language)">C</a></li>
<li><a href="C%2B%2B" title="C++">C++</a></li>
<li><a href="C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a></li>
<li><a href="COBOL" title="COBOL">COBOL</a></li>
<li><a href="Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a>
<ul><li><a href="Elixir_(programming_language)" title="Elixir (programming language)">Elixir</a></li></ul></li>
<li><a href="Forth_(programming_language)" title="Forth (programming language)">Forth</a></li>
<li><a href="Fortran" title="Fortran">Fortran</a></li>
<li><a href="Go_(programming_language)" title="Go (programming language)">Go</a></li>
<li><a href="Haskell" title="Haskell">Haskell</a></li>
<li><a href="Java_(programming_language)" title="Java (programming language)">Java</a></li>
<li><a href="JavaScript" title="JavaScript">JavaScript</a></li>
<li><a href="Julia_(programming_language)" title="Julia (programming language)">Julia</a></li>
<li><a href="Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a></li>
<li><a href="Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a></li>
<li><a href="Lua" title="Lua">Lua</a></li>
<li><a href="MATLAB" title="MATLAB">MATLAB</a></li>
<li><a href="ML_(programming_language)" title="ML (programming language)">ML</a>
<ul><li><a href="Caml" title="Caml">Caml </a>
<ul><li><a href="OCaml" title="OCaml">OCaml</a></li></ul></li></ul></li>
<li><a href="Pascal_(programming_language)" title="Pascal (programming language)">Pascal</a>
<ul><li><a href="Object_Pascal" title="Object Pascal">Object Pascal</a></li></ul></li>
<li><a href="Perl" title="Perl">Perl </a>
<ul><li><a href="Raku_(programming_language)" title="Raku (programming language)">Raku</a></li></ul></li>
<li><a href="PHP" title="PHP">PHP</a></li>
<li><a href="Prolog" title="Prolog">Prolog</a></li>
<li><a href="Python_(programming_language)" title="Python (programming language)">Python</a></li>
<li><a href="R_(programming_language)" title="R (programming language)">R</a></li>
<li><a href="Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a></li>
<li><a href="Rust_(programming_language)" title="Rust (programming language)">Rust</a></li>
<li><a href="SAS_language" title="SAS language">SAS</a></li>
<li><a href="SQL" title="SQL">SQL</a></li>
<li><a href="Scratch_(programming_language)" title="Scratch (programming language)">Scratch</a></li>
<li><a href="Shell_script" title="Shell script">Shell</a></li>
<li><a href="Smalltalk" title="Smalltalk">Smalltalk</a></li>
<li><a href="Swift_(programming_language)" title="Swift (programming language)">Swift</a></li>
<li><i><a href="List_of_programming_languages" title="List of programming languages">more...</a></i></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><span class="noviewer" typeof="mw:File"><span title="List-Class article"></span></span> <b>Lists:</b> <a href="List_of_programming_languages" title="List of programming languages">Alphabetical</a></li>
<li><a href="List_of_programming_languages_by_type" title="List of programming languages by type">Categorical</a></li>
<li><a href="Generational_list_of_programming_languages" title="Generational list of programming languages">Generational</a></li>
<li><a href="Non-English-based_programming_languages" title="Non-English-based programming languages">Non-English-based</a></li>
<li><span class="noviewer" typeof="mw:File"><span title="Category"></span></span> Category</li></ul>
</div></td></tr></tbody></table></div>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1038841319">
/* start https://en.wikipedia.org/ */


.mw-parser-output .tooltip-dotted{border-bottom:1px dotted;cursor:help}


/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox authority-control" aria-labelledby="Authority_control_databases_frameless&amp;#124;text-top&amp;#124;10px&amp;#124;alt=Edit_this_at_Wikidata&amp;#124;link=https&amp;#58;//www.wikidata.org/wiki/Q460584#identifiers&amp;#124;class=noprint&amp;#124;Edit_this_at_Wikidata1254" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Authority_control_databases_frameless&amp;#124;text-top&amp;#124;10px&amp;#124;alt=Edit_this_at_Wikidata&amp;#124;link=https&amp;#58;//www.wikidata.org/wiki/Q460584#identifiers&amp;#124;class=noprint&amp;#124;Edit_this_at_Wikidata1254" style="font-size:114%;margin:0 4em">Authority control databases </div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">National</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://d-nb.info/gnd/7658965-1">Germany</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/sh2010013203">United States</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://catalogue.bnf.fr/ark:/12148/cb16664389n">France</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://data.bnf.fr/ark:/12148/cb16664389n">BnF data</a></span></li><li><span class="uid"><span class="rt-commentedText tooltip tooltip-dotted" title="Scala (programovací jazyk)"><a rel="nofollow" class="external text" href="https://aleph.nkp.cz/F/?func=find-c&amp;local_base=aut&amp;ccl_term=ica=ph903887&amp;CON_LNG=ENG">Czech Republic</a></span></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://www.nli.org.il/en/authorities/987007599951105171">Israel</a></span></li></ul></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://www.idref.fr/167934406">IdRef</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://lux.collections.yale.edu/view/concept/183677cd-6f21-4757-b142-6a22861ed976">Yale LUX</a></span></li></ul></div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-07-29" href="https://en.wikipedia.org/wiki/?title=Scala_(programming_language)&amp;oldid=1303148517">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>